unit test fix

This commit is contained in:
CocoByte 2024-12-05 12:59:13 -07:00
parent a81cf60659
commit 77d4f0aee9
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -578,7 +578,7 @@ class TestDomainRequestAdmin(MockEppLib):
# of the request # of the request
self.assertContains(response, "Federal", count=55) self.assertContains(response, "Federal", count=55)
# This may be a bit more robust # This may be a bit more robust
self.assertContains(response, '<td class="field-converted_generic_org_type">federal</td>', count=1) self.assertContains(response, '<td class="field-converted_generic_org_type">Federal</td>', count=1)
# Now let's make sure the long description does not exist # Now let's make sure the long description does not exist
self.assertNotContains(response, "Federal: an agency of the U.S. government") self.assertNotContains(response, "Federal: an agency of the U.S. government")