Skip to content
Snippets Groups Projects
Commit 998da9fc authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-60: start/stop time are python datetimes, not strings

parent 0a69288a
No related branches found
No related tags found
1 merge request!154Resolve TMSS-60 and TMSS-171 and TMSS-198
......@@ -258,10 +258,10 @@ def Subtask_test_data(task_blueprint: models.TaskBlueprint=None, subtask_templat
specifications_doc = get_default_json_object_for_schema(subtask_template.schema)
if start_time is None:
start_time = datetime.utcnow().isoformat()
start_time = datetime.utcnow()
if stop_time is None:
stop_time = datetime.utcnow().isoformat()
stop_time = datetime.utcnow()
if cluster is None:
cluster = models.Cluster.objects.create(name="dummy cluster", location="downstairs", tags=[])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment