This commit is contained in:
Rachid Mrad 2024-05-01 18:22:25 -04:00
parent a961328d78
commit 501f68ea77
No known key found for this signature in database

View file

@ -2411,7 +2411,7 @@ class TestDomainRequestAdmin(MockEppLib):
self.assertContains(response, _domain_request.requested_domain.name)
# 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
expected_html = "".join(expected_html.split())
@ -2442,7 +2442,7 @@ class TestDomainRequestAdmin(MockEppLib):
self.assertContains(response, _domain_request.requested_domain.name)
# 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
expected_html = "".join(expected_html.split())