mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-29 14:06:32 +02:00
linter and merge fixes
This commit is contained in:
parent
14944a970b
commit
95cd22d549
5 changed files with 7 additions and 5 deletions
|
@ -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?")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue