mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Fix unit test
This commit is contained in:
parent
af20a9b52a
commit
70cd55f623
2 changed files with 2 additions and 1 deletions
|
@ -646,7 +646,7 @@ class TestDomainAdmin(MockEppLib, WebTest):
|
|||
response = self.client.get("/admin/registrar/domain/")
|
||||
# There are 4 template references to Federal (4) plus four references in the table
|
||||
# for our actual domain_request
|
||||
self.assertContains(response, "Federal", count=54)
|
||||
self.assertContains(response, "Federal", count=56)
|
||||
# This may be a bit more robust
|
||||
self.assertContains(response, '<td class="field-generic_org_type">Federal</td>', count=1)
|
||||
# Now let's make sure the long description does not exist
|
||||
|
|
|
@ -963,6 +963,7 @@ class TestDomainInformation(TestCase):
|
|||
domain=domain,
|
||||
notes="test notes",
|
||||
domain_request=domain_request,
|
||||
federal_agency=FederalAgency.objects.get(agency="Non-Federal Agency"),
|
||||
).__dict__
|
||||
|
||||
# Test the two records for consistency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue