mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
updated tests
This commit is contained in:
parent
a9aa8b16ef
commit
5a896ac369
3 changed files with 28 additions and 4 deletions
|
@ -576,6 +576,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=48)
|
||||
self.assertContains(response, "Converted federal", count=4)
|
||||
# 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