updated unit tests

This commit is contained in:
CocoByte 2025-01-24 15:06:10 -07:00
parent 137399a115
commit ec351b055a
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 2 additions and 4 deletions

View file

@ -662,8 +662,7 @@ class TestDomainRequestAdmin(MockEppLib):
response = self.client.get("/admin/registrar/domainrequest/?generic_org_type__exact=federal")
# There are 2 template references to Federal (4) and two in the results data
# of the request
self.assertContains(response, "Federal", count=52)
self.assertContains(response, "federal", count=383)
self.assertContains(response, "Federal", count=54)
# This may be a bit more robust
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