#NEWLINE# def test_invalid_checkmulti( self ) : #NEWLINE# #INDENT# in_data = copy . deepcopy ( in_data . valid_data ) #NEWLINE# in_data [ 'check_multi' ] . append ( 'X' ) #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 ( 'check_multi' , None ) ) #NEWLINE# self . assertFalse ( bound_form . errors )