mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Fix remaining tests (hopefully)
This commit is contained in:
parent
9f6d1324d9
commit
056df7151d
9 changed files with 28 additions and 41 deletions
|
@ -580,14 +580,8 @@ class DomainRequest(TimeStampedModel):
|
|||
@classmethod
|
||||
def get_statuses_that_send_emails(cls):
|
||||
"""Returns a list of statuses that send an email to the user"""
|
||||
excluded_statuses = [
|
||||
cls.DomainRequestStatus.INELIGIBLE,
|
||||
cls.DomainRequestStatus.IN_REVIEW
|
||||
]
|
||||
return [
|
||||
status for status in cls.DomainRequestStatus
|
||||
if status not in excluded_statuses
|
||||
]
|
||||
excluded_statuses = [cls.DomainRequestStatus.INELIGIBLE, cls.DomainRequestStatus.IN_REVIEW]
|
||||
return [status for status in cls.DomainRequestStatus if status not in excluded_statuses]
|
||||
|
||||
def sync_organization_type(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue