#NEWLINE# def test_toElementMultipleValues( self ) : #NEWLINE# #INDENT# '\n        A field with no type and multiple values should render all values.\n        ' #NEWLINE# field = data_form . Field ( 'list-multi' , var = 'test' , values = [ 'test' , 'test2' ] ) #NEWLINE# element = field . toElement ( ) #NEWLINE# children = list ( element . elements ( ) ) #NEWLINE# self . assertEqual ( 2 , len ( children ) )