use python dates for request revisions, plus some cleanup

This commit is contained in:
dandds
2018-08-31 12:05:16 -04:00
parent cc7ddd9468
commit 326d330a40
4 changed files with 7 additions and 13 deletions

View File

@@ -77,7 +77,7 @@ class RequestFactory(factory.alchemy.SQLAlchemyModelFactory):
fname_poc=user.first_name,
lname_poc=user.last_name,
jedi_usage="adf",
start_date=datetime.datetime(2018, 8, 8, tzinfo=datetime.timezone.utc),
start_date=datetime.date(2018, 8, 8),
cloud_native="yes",
dollar_value=dollar_value,
dod_component=SERVICE_BRANCHES[2][1],
@@ -100,9 +100,7 @@ class RequestFactory(factory.alchemy.SQLAlchemyModelFactory):
fname_request=user.first_name,
lname_request=user.last_name,
service_branch=SERVICE_BRANCHES[1][1],
date_latest_training=datetime.datetime(
2018, 8, 6, tzinfo=datetime.timezone.utc
),
date_latest_training=datetime.date(2018, 8, 6),
)
data = (