mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
Added fake submitted dates to fixtures
This commit is contained in:
parent
4dbbf3ae5a
commit
19764e8151
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import datetime
|
||||
import logging
|
||||
import random
|
||||
from faker import Faker
|
||||
|
@ -104,7 +105,7 @@ class DomainApplicationFixture:
|
|||
# Random choice of agency for selects, used as placeholders for testing.
|
||||
else random.choice(DomainApplication.AGENCIES) # nosec
|
||||
)
|
||||
|
||||
da.submission_date = fake.date()
|
||||
da.federal_type = (
|
||||
app["federal_type"]
|
||||
if "federal_type" in app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue