mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
minor changes
This commit is contained in:
parent
9121693774
commit
e420c406a3
2 changed files with 3 additions and 3 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()
|
||||||
|
|
|
@ -405,11 +405,11 @@ class AuditedAdminMockData:
|
||||||
status=status,
|
status=status,
|
||||||
)
|
)
|
||||||
case self.INFORMATION:
|
case self.INFORMATION:
|
||||||
domain_app = self.create_full_dummy_domain_request(item_name)
|
domain_req = self.create_full_dummy_domain_request(item_name)
|
||||||
full_arg_dict = dict(
|
full_arg_dict = dict(
|
||||||
**common_args,
|
**common_args,
|
||||||
domain=self.dummy_domain(item_name, True),
|
domain=self.dummy_domain(item_name, True),
|
||||||
domain_request=domain_app,
|
domain_request=domain_req,
|
||||||
)
|
)
|
||||||
case self.INVITATION:
|
case self.INVITATION:
|
||||||
full_arg_dict = dict(
|
full_arg_dict = dict(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue