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

TMSS-206: fixed tests

parent e9195ef2
No related branches found
No related tags found
1 merge request!158Resolve TMSS-206
......@@ -256,6 +256,9 @@ def SubtaskInput_test_data(subtask: models.Subtask=None, producer: models.Subtas
if subtask is None:
subtask = models.Subtask.objects.create(**Subtask_test_data())
if producer is None:
producer = models.SubtaskOutput.objects.create(**SubtaskOutput_test_data())
return {"subtask": subtask,
"task_relation_blueprint": models.TaskRelationBlueprint.objects.create(**TaskRelationBlueprint_test_data()),
"producer": producer,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment