#NEWLINE# def test_addField( self ) : #NEWLINE# #INDENT# '\n        A field should occur in fieldList.\n        ' #NEWLINE# form = data_form . Form ( 'result' ) #NEWLINE# field = data_form . Field ( 'fixed' , value = 'Section 1' ) #NEWLINE# form . addField ( field ) #NEWLINE# self . assertEqual ( [ self ] , form . fieldList )