mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
Update tests to reflect federal agency text occurrences
This commit is contained in:
parent
601ded68ac
commit
d0826fe847
1 changed files with 2 additions and 2 deletions
|
@ -284,7 +284,7 @@ class TestDomainAdmin(MockEppLib, WebTest):
|
||||||
|
|
||||||
# There are 4 template references to Federal (4) plus four references in the table
|
# There are 4 template references to Federal (4) plus four references in the table
|
||||||
# for our actual domain_request
|
# for our actual domain_request
|
||||||
self.assertContains(response, "Federal", count=8)
|
self.assertContains(response, "Federal", count=36)
|
||||||
# This may be a bit more robust
|
# This may be a bit more robust
|
||||||
self.assertContains(response, '<td class="field-organization_type">Federal</td>', count=1)
|
self.assertContains(response, '<td class="field-organization_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
|
||||||
|
@ -690,7 +690,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
response = self.client.get("/admin/registrar/domainrequest/")
|
response = self.client.get("/admin/registrar/domainrequest/")
|
||||||
# There are 4 template references to Federal (4) plus two references in the table
|
# There are 4 template references to Federal (4) plus two references in the table
|
||||||
# for our actual domain request
|
# for our actual domain request
|
||||||
self.assertContains(response, "Federal", count=6)
|
self.assertContains(response, "Federal", count=34)
|
||||||
# This may be a bit more robust
|
# This may be a bit more robust
|
||||||
self.assertContains(response, '<td class="field-organization_type">Federal</td>', count=1)
|
self.assertContains(response, '<td class="field-organization_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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue