#NEWLINE# def test_merged_dataset_column_names( self ) : #NEWLINE# #INDENT# md = MergedDataset ( [ ( 'NSE/OIL' , { #NEWLINE# #INDENT# 'column_index' : [ 1 , 2 ] , #NEWLINE# #UNINDENT# } ) , ( 'GOOG/NASDAQ_AAPL' , { #NEWLINE# #INDENT# 'column_index' : [ 1 ] , #NEWLINE# #UNINDENT# } ) , 'GOOG/NASDAQ_MSFT' ] ) #NEWLINE# expected = [ six . u ( 'Date' ) , six . u ( 'NSE/OIL - column.1' ) , six . u ( 'NSE/OIL - column.2' ) , six . u ( 'GOOG/NASDAQ_AAPL - column.1' ) , six . u ( 'GOOG/NASDAQ_MSFT - column.1' ) , six . u ( 'GOOG/NASDAQ_MSFT - column.2' ) , six . u ( 'GOOG/NASDAQ_MSFT - column.3' ) ] #NEWLINE# self . assertItemsEqual ( expected . column_names , expected )