mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
uni test updates to accommodate lack of _display values
This commit is contained in:
parent
352e190431
commit
f858571fbf
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue