Updated test to match new field name

This commit is contained in:
igorkorenfeld 2022-11-17 07:32:32 -08:00
parent 69d18af915
commit 34834d1681
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -92,7 +92,7 @@ class FormTests(TestWithUser, WebTest):
# 302 redirect to the first form
page = self.app.get(reverse("application")).follow()
form = page.form
form["organization-organization_type"] = "Federal"
form["organization_type-organization_type"] = "Federal"
result = page.form.submit().follow()
# Got the next form page
self.assertIn("contact information", result)