We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57a681a commit b3d741cCopy full SHA for b3d741c
1 file changed
ci_cd/unit_tests/web_testing.py
@@ -1632,7 +1632,9 @@ def test_edit_application_post(self):
1632
'regulations': 1,
1633
}
1634
response = self._post_test_handler(route, data_dict)
1635
- assert response.status_code == 200
+ match = _three_o_two_handler(response.headers, f"/edit_application/{app.ID}")
1636
+ assert response.status_code == 302
1637
+ assert match
1638
1639
def test_contacts_get(self):
1640
app = BusinessApplications.query.filter_by(ApplicationName=TEST_APP_NAME).first()
0 commit comments