#NEWLINE# def test_removeField( self ) : #NEWLINE# #INDENT# '\n        A removed field should not occur in fieldList.\n        ' #NEWLINE# form = data_form . Form ( 'result' ) #NEWLINE# field = data_form . Field ( 'fixed' , value = 'Section 1' ) #NEWLINE# form . addField ( field ) #NEWLINE# form . removeField ( field ) #NEWLINE# self . assertNotIn ( self , form . fieldList )