#NEWLINE# def test_combine( self ) : #NEWLINE# #INDENT# comb_res1 = self . transformer . combine ( self . test_df_1 , self . test_df_2 , 'id' , 'id' ) [ [ 'id' , 'name' , 'full_name' ] ] #NEWLINE# assert_frame_equal ( comb_res1 , self . test_result_1 ) #NEWLINE# comb_res2 = self . transformer . combine ( self . test_df_1 , self . test_df_2 , 'id' , 'id' , 'left' ) [ [ 'id' , 'name' , 'full_name' ] ] #NEWLINE# assert_frame_equal ( comb_res2 , self . test_result_2 ) #NEWLINE# comb_res3 = self . transformer . combine ( self . test_df_1 , self . test_df_2 , 'id' , 'id' , 'right' ) [ [ 'id' , 'name' , 'full_name' ] ] #NEWLINE# assert_frame_equal ( comb_res3 , self . test_result_3 ) #NEWLINE# comb_res4 = self . transformer . combine ( self . test_df_3 , self . test_df_2 , 'id' , 'id' , suffixes = ( '_left_side' , '_right_side' ) ) #NEWLINE# assert_frame_equal ( comb_res4 , self . test_result_4 )