mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
removed uneeded endlines
This commit is contained in:
parent
ca47d6eb2c
commit
9e25baa346
1 changed files with 0 additions and 5 deletions
|
@ -150,7 +150,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
type_result = type_page.form.submit()
|
type_result = type_page.form.submit()
|
||||||
# should see results in db
|
# should see results in db
|
||||||
application = DomainApplication.objects.get() # there's only one
|
application = DomainApplication.objects.get() # there's only one
|
||||||
|
|
||||||
self.assertEqual(application.organization_type, "federal")
|
self.assertEqual(application.organization_type, "federal")
|
||||||
# the post request should return a redirect to the next form in
|
# the post request should return a redirect to the next form in
|
||||||
# the application
|
# the application
|
||||||
|
@ -168,7 +167,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
|
|
||||||
# test next button
|
# test next button
|
||||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||||
|
|
||||||
federal_result = federal_form.submit()
|
federal_result = federal_form.submit()
|
||||||
# validate that data from this step are being saved
|
# validate that data from this step are being saved
|
||||||
application = DomainApplication.objects.get() # there's only one
|
application = DomainApplication.objects.get() # there's only one
|
||||||
|
@ -182,7 +180,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
# ---- ORG CONTACT PAGE ----
|
# ---- ORG CONTACT PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form page
|
||||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||||
|
|
||||||
org_contact_page = federal_result.follow()
|
org_contact_page = federal_result.follow()
|
||||||
org_contact_form = org_contact_page.form
|
org_contact_form = org_contact_page.form
|
||||||
# federal agency so we have to fill in federal_agency
|
# federal agency so we have to fill in federal_agency
|
||||||
|
@ -199,7 +196,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
|
|
||||||
# test next button
|
# test next button
|
||||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||||
|
|
||||||
org_contact_result = org_contact_form.submit()
|
org_contact_result = org_contact_form.submit()
|
||||||
# validate that data from this step are being saved
|
# validate that data from this step are being saved
|
||||||
application = DomainApplication.objects.get() # there's only one
|
application = DomainApplication.objects.get() # there's only one
|
||||||
|
@ -221,7 +217,6 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
||||||
# ---- AUTHORIZING OFFICIAL PAGE ----
|
# ---- AUTHORIZING OFFICIAL PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form 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
|
ao_form = ao_page.form
|
||||||
ao_form["authorizing_official-first_name"] = "Testy ATO"
|
ao_form["authorizing_official-first_name"] = "Testy ATO"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue