Commits

ianjosephwilson committed 3e40f4d Draft

Fix test to submit the fields in the order they occur in the html, including the submit button.

Comments (0)

Files changed (1)

tests/test_field_order.py

         single_form.set("description", "testdescription")
         display = single_form.submit("Submit")
         self.assertTrue(
-"""Submit:Submit
-_charset_:
+"""_charset_:
 __formid__:deform
 title:testtitle
 __start__:fileupload:mapping
 fileupload:test.txt:test content file upload
 __end__:fileupload:mapping
-description:testdescription""" in display)
+description:testdescription
+Submit:Submit
+""" in display)
 
     def test_post_with_file_upload(self):
         uploaded_file_name = 'test.txt'