#NEWLINE# def test_invalid_email( self ) : #NEWLINE# #INDENT# in_data = copy . deepcopy ( self . valid_data ) #NEWLINE# in_data [ 'email' ] = 'no.email.address' #NEWLINE# bound_form = DummyForm ( data = in_data ) #NEWLINE# self . assertTrue ( bound_form . is_bound ) #NEWLINE# self . assertFalse ( bound_form . is_valid ( ) ) #NEWLINE# self . assertTrue ( bound_form . errors . pop ( 'email' , None ) ) #NEWLINE# self . assertFalse ( self . errors )