mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
another fix...
This commit is contained in:
parent
e420c406a3
commit
f28705daff
2 changed files with 2 additions and 2 deletions
|
@ -907,7 +907,7 @@ class DomainRequest(TimeStampedModel):
|
||||||
def has_rationale(self) -> bool:
|
def has_rationale(self) -> bool:
|
||||||
"""Does this domain request have no_other_contacts_rationale?"""
|
"""Does this domain request have no_other_contacts_rationale?"""
|
||||||
return bool(self.no_other_contacts_rationale)
|
return bool(self.no_other_contacts_rationale)
|
||||||
1
|
|
||||||
def has_other_contacts(self) -> bool:
|
def has_other_contacts(self) -> bool:
|
||||||
"""Does this domain request have other contacts listed?"""
|
"""Does this domain request have other contacts listed?"""
|
||||||
return self.other_contacts.exists()
|
return self.other_contacts.exists()
|
||||||
|
|
|
@ -585,7 +585,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
with less_console_noise():
|
with less_console_noise():
|
||||||
self.client.force_login(self.superuser)
|
self.client.force_login(self.superuser)
|
||||||
completed_domain_request()
|
completed_domain_request()
|
||||||
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=6)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue