mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +02:00
fix tests
This commit is contained in:
parent
1821735c8b
commit
f24fd1f510
1 changed files with 2 additions and 2 deletions
|
@ -2411,7 +2411,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
self.assertContains(response, _domain_request.requested_domain.name)
|
self.assertContains(response, _domain_request.requested_domain.name)
|
||||||
|
|
||||||
# Test if the page has the right CISA region
|
# Test if the page has the right CISA region
|
||||||
expected_html = '<div class="flex-container margin-top-2">' "<span>CISA region: N/A</span>" "</div>"
|
expected_html = '<div class="flex-container margin-top-2"><span>CISA region: N/A</span></div>'
|
||||||
# Remove whitespace from expected_html
|
# Remove whitespace from expected_html
|
||||||
expected_html = "".join(expected_html.split())
|
expected_html = "".join(expected_html.split())
|
||||||
|
|
||||||
|
@ -2442,7 +2442,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
self.assertContains(response, _domain_request.requested_domain.name)
|
self.assertContains(response, _domain_request.requested_domain.name)
|
||||||
|
|
||||||
# Test if the page has the right CISA region
|
# Test if the page has the right CISA region
|
||||||
expected_html = '<div class="flex-container margin-top-2">' '<span">CISA region: 2</span>' "</div>"
|
expected_html = '<div class="flex-container margin-top-2"><span>CISA region: 2</span></div>'
|
||||||
# Remove whitespace from expected_html
|
# Remove whitespace from expected_html
|
||||||
expected_html = "".join(expected_html.split())
|
expected_html = "".join(expected_html.split())
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue