mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
Simplify FSM tests
This commit is contained in:
parent
d978211c6d
commit
d60ff23020
2 changed files with 133 additions and 135 deletions
|
@ -601,6 +601,13 @@ def completed_application(
|
|||
return application
|
||||
|
||||
|
||||
def set_applications_investigators(application_list: list[DomainApplication], investigator_user: User):
|
||||
"""Helper method that sets the investigator field of all provided applications"""
|
||||
for application in application_list:
|
||||
application.investigator = investigator_user
|
||||
application.save()
|
||||
|
||||
|
||||
def multiple_unalphabetical_domain_objects(
|
||||
domain_type=AuditedAdminMockData.APPLICATION,
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue