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

TMSS-153: minor tweak

parent e8382b74
No related branches found
No related tags found
1 merge request!102Resolve TMSS-153
......@@ -230,7 +230,7 @@ def Subtask_test_data(subtask_template: models.SubtaskTemplate=None, specificati
"do_cancel": datetime.utcnow(),
"priority": 1,
"schedule_method": models.ScheduleMethod.objects.get(value='manual'),
"cluster": models.Cluster.objects.create(location="downstairs", tags=[]),
"cluster": models.Cluster.objects.create(**Cluster_test_data()),
"scheduler_input_doc": "{}"}
def Dataproduct_test_data():
......@@ -278,7 +278,8 @@ def Filesystem_test_data():
"tags": ['tmss', 'testing']}
def Cluster_test_data():
return {"location": "upstairs",
return {"name": "cluster_%s"%uuid.uuid4(),
"location": "upstairs",
"tags": ['tmss', 'testing']}
def DataproductArchiveInfo_test_data():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment