mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Fix tests / lint
This commit is contained in:
parent
229e080703
commit
9931fcc4d3
3 changed files with 6 additions and 7 deletions
|
@ -681,8 +681,7 @@ class AdditionalDetailsForm(BaseDeletableRegistrarForm):
|
|||
],
|
||||
error_messages={
|
||||
"required": (
|
||||
"Provide additional details you’d like us to know. "
|
||||
"If you have nothing to add, select “No.”"
|
||||
"Provide additional details you’d like us to know. " "If you have nothing to add, select “No.”"
|
||||
)
|
||||
},
|
||||
)
|
||||
|
|
|
@ -740,9 +740,7 @@ class DomainRequest(TimeStampedModel):
|
|||
)
|
||||
|
||||
if self.anything_else is not None:
|
||||
self.has_anything_else_text = (
|
||||
self.anything_else != "" and self.anything_else is not None
|
||||
)
|
||||
self.has_anything_else_text = self.anything_else != "" and self.anything_else is not None
|
||||
|
||||
def __str__(self):
|
||||
try:
|
||||
|
|
|
@ -1883,7 +1883,9 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
"purpose",
|
||||
"no_other_contacts_rationale",
|
||||
"anything_else",
|
||||
"has_anything_else_text",
|
||||
"cisa_representative_email",
|
||||
"has_cisa_representative",
|
||||
"is_policy_acknowledged",
|
||||
"submission_date",
|
||||
"notes",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue