#NEWLINE# def test_valid_form( self ) : #NEWLINE# #INDENT# query = QueryDict ( '' ) #NEWLINE# query = query . copy ( ) #NEWLINE# in_data = copy . deepcopy ( select_multi . valid_data ) #NEWLINE# select_multi = in_data . pop ( 'select_multi' ) #NEWLINE# check_multi = in_data . pop ( 'check_multi' ) #NEWLINE# query . update ( in_data ) #NEWLINE# query . setlist ( 'select_multi' , select_multi ) #NEWLINE# query . setlist ( 'check_multi' , check_multi ) #NEWLINE# bound_form = DummyForm ( data = query ) #NEWLINE# self . assertTrue ( bound_form . is_bound ) #NEWLINE# self . assertTrue ( bound_form . is_valid ( ) )