uni test updates to accommodate lack of _display values

This commit is contained in:
CocoByte 2025-01-14 17:16:37 -07:00
parent 352e190431
commit f858571fbf
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 4 additions and 2 deletions

View file

@ -662,7 +662,8 @@ 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=55)
self.assertContains(response, "Federal", count=52)
self.assertContains(response, "federal", count=383)
# 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