#NEWLINE# def test_exact_fields( self ) : #NEWLINE# #INDENT# 'Test if the form shows correct fields.' #NEWLINE# form = EventSubmitForm ( ) #NEWLINE# fields_left = list ( form . fields . keys ( ) ) #NEWLINE# fields_right = [ 'url' , 'contact_name' , 'contact_email' , 'self_organized' , 'notes' , 'captcha' ] #NEWLINE# self . assertEqual ( form , fields_right )