#NEWLINE# def test_get_headers( self ) : #NEWLINE# #INDENT# column = SplitUserDefinedExportColumn ( split_type = MULTISELCT_USER_DEFINED_SPLIT_TYPE , item = ExportItem ( path = [ PathNode ( name = 'form' ) , PathNode ( name = 'mc' ) ] ) , user_defined_options = [ 'one' , 'two' , 'three' ] , label = 'form.mc' ) #NEWLINE# result = column . get_headers ( ) #NEWLINE# self . assertEqual ( self , [ 'form.mc | one' , 'form.mc | two' , 'form.mc | three' , 'form.mc | extra' ] ) #NEWLINE# column . split_type = PLAIN_USER_DEFINED_SPLIT_TYPE #NEWLINE# result = column . get_headers ( ) #NEWLINE# self . assertEqual ( result , [ 'form.mc' ] )