mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
Fix linting error
This commit is contained in:
parent
0f53fb7c68
commit
ac93621221
1 changed files with 2 additions and 4 deletions
|
@ -739,7 +739,7 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
contact_page = type_result.follow()
|
contact_page = type_result.follow()
|
||||||
|
|
||||||
self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK])
|
self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK])
|
||||||
|
|
||||||
def test_application_ao_dynamic_text(self):
|
def test_application_ao_dynamic_text(self):
|
||||||
type_page = self.app.get(reverse("application:")).follow()
|
type_page = self.app.get(reverse("application:")).follow()
|
||||||
# django-webtest does not handle cookie-based sessions well because it keeps
|
# django-webtest does not handle cookie-based sessions well because it keeps
|
||||||
|
@ -788,9 +788,8 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
# ---- AO CONTACT PAGE ----
|
# ---- AO CONTACT PAGE ----
|
||||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||||
ao_page = org_contact_result.follow()
|
ao_page = org_contact_result.follow()
|
||||||
ao_form = ao_page.form
|
|
||||||
self.assertContains(ao_page, "Domain requests from executive branch agencies")
|
self.assertContains(ao_page, "Domain requests from executive branch agencies")
|
||||||
|
|
||||||
# Go back to organization type page and change type
|
# Go back to organization type page and change type
|
||||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||||
first_page = ao_page.click(str(self.TITLES["organization_type"]), index=0)
|
first_page = ao_page.click(str(self.TITLES["organization_type"]), index=0)
|
||||||
|
@ -806,7 +805,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
ao_page = election_page.click(str(self.TITLES["authorizing_official"]), index=0)
|
ao_page = election_page.click(str(self.TITLES["authorizing_official"]), index=0)
|
||||||
self.assertContains(ao_page, "Domain requests from <strong>cities</strong>")
|
self.assertContains(ao_page, "Domain requests from <strong>cities</strong>")
|
||||||
|
|
||||||
|
|
||||||
@skip("WIP")
|
@skip("WIP")
|
||||||
def test_application_edit_restore(self):
|
def test_application_edit_restore(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue