updated code for readability

This commit is contained in:
David Kennedy 2024-06-19 16:05:14 -04:00
parent e0df3ed453
commit 60f10cb3cd
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -611,10 +611,12 @@ class FinishUserProfileTests(TestWithUser, WebTest):
finish_setup_form = completed_setup_page.form
# Submit the form using the specific submit button to execute the redirect
completed_setup_page = self._submit_form_webtest(finish_setup_form, follow=True, name="contact_setup_submit_button")
completed_setup_page = self._submit_form_webtest(
finish_setup_form, follow=True, name="contact_setup_submit_button"
)
self.assertEqual(completed_setup_page.status_code, 200)
# Assert that we are still on the
# Assert that we are still on the
# Assert that we're on the domain request page
self.assertNotContains(completed_setup_page, "Finish setting up your profile")
self.assertNotContains(completed_setup_page, "What contact information should we use to reach you?")