mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
linter
This commit is contained in:
parent
b8ca830fea
commit
534e281eeb
1 changed files with 12 additions and 2 deletions
|
@ -1406,7 +1406,12 @@ class TestDomainNameservers(TestDomainOverview):
|
||||||
# form submission was a post with an error, response should be a 200
|
# form submission was a post with an error, response should be a 200
|
||||||
# error text appears twice, once at the top of the page, once around
|
# error text appears twice, once at the top of the page, once around
|
||||||
# the required field. form requires a minimum of 2 name servers
|
# the required field. form requires a minimum of 2 name servers
|
||||||
self.assertContains(result, "A minimum of 2 Name Servers are required.", count=2, status_code=200)
|
self.assertContains(
|
||||||
|
result,
|
||||||
|
"A minimum of 2 Name Servers are required.",
|
||||||
|
count=2,
|
||||||
|
status_code=200,
|
||||||
|
)
|
||||||
|
|
||||||
def test_domain_nameservers_form_submit_subdomain_missing_ip(self):
|
def test_domain_nameservers_form_submit_subdomain_missing_ip(self):
|
||||||
"""Can change domain's nameservers.
|
"""Can change domain's nameservers.
|
||||||
|
@ -1573,7 +1578,12 @@ class TestDomainNameservers(TestDomainOverview):
|
||||||
# form submission was a post with an error, response should be a 200
|
# form submission was a post with an error, response should be a 200
|
||||||
# error text appears four times, twice at the top of the page,
|
# error text appears four times, twice at the top of the page,
|
||||||
# once around each required field.
|
# once around each required field.
|
||||||
self.assertContains(result, "A minimum of 2 Name Servers are required.", count=4, status_code=200)
|
self.assertContains(
|
||||||
|
result,
|
||||||
|
"A minimum of 2 Name Servers are required.",
|
||||||
|
count=4,
|
||||||
|
status_code=200,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class TestDomainAuthorizingOfficial(TestDomainOverview):
|
class TestDomainAuthorizingOfficial(TestDomainOverview):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue