You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was surprised to learn today that I had made a form which was impossible to submit. I had used webtest to verify that the form was submittable by calling the "form.submit()" method.
If the button referenced in submit() doesn't exist, or if it doesn't actually submit the form, an error should be raised.
For example, this test could be added to tests/test_forms.py:
I was surprised to learn today that I had made a form which was impossible to submit. I had used webtest to verify that the form was submittable by calling the "form.submit()" method.
If the button referenced in submit() doesn't exist, or if it doesn't actually submit the form, an error should be raised.
For example, this test could be added to
tests/test_forms.py
:Then another test is needed where the button exists, but doesn't actually submit the form.
The text was updated successfully, but these errors were encountered: