#NEWLINE# def test_get_headers( self ) : #NEWLINE# #INDENT# column = SplitGPSExportColumn ( item = GeopointItem ( path = [ PathNode ( name = 'form' ) , PathNode ( name = 'geo' ) ] ) , label = 'geo-label' ) #NEWLINE# result = column . get_headers ( split_column = True ) #NEWLINE# self . assertEqual ( len ( result ) , 4 ) #NEWLINE# result = column . get_headers ( split_column = False ) #NEWLINE# self . assertEqual ( result , [ 'geo-label' ] )