linter and merge fixes

This commit is contained in:
matthewswspence 2025-03-11 15:34:25 -05:00
parent 14944a970b
commit 95cd22d549
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
5 changed files with 7 additions and 5 deletions

View file

@ -2618,7 +2618,9 @@ class DomainRequestTests(TestWithUser, WebTest):
domain_form["dotgov_domain-requested_domain"] = domain
domain_form["dotgov_domain-feb_naming_requirements"] = "True"
domain_form["dotgov_domain-feb_naming_requirements_details"] = "test"
with patch('registrar.forms.domain_request_wizard.DotGovDomainForm.clean_requested_domain', return_value=domain): # noqa
with patch(
"registrar.forms.domain_request_wizard.DotGovDomainForm.clean_requested_domain", return_value=domain
): # noqa
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
domain_result = domain_form.submit()
@ -2628,7 +2630,6 @@ class DomainRequestTests(TestWithUser, WebTest):
self.feb_purpose_page_tests(purpose_page)
def feb_purpose_page_tests(self, purpose_page):
self.assertContains(purpose_page, "What is the purpose of your requested domain?")