minor changes

This commit is contained in:
CocoByte 2024-03-01 15:22:15 -07:00
parent 9121693774
commit e420c406a3
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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(