From ab19a71628b4b2d9f729a17070a61a50b706aac1 Mon Sep 17 00:00:00 2001
From: jkuensem <jkuensem@physik.uni-bielefeld.de>
Date: Thu, 7 May 2020 15:15:42 +0200
Subject: [PATCH] TMSS-56: remove wrong type conversion

---
 LCS/PyCommon/json_utils.py                    | 1 -
 SAS/TMSS/test/tmss_test_data_django_models.py | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/LCS/PyCommon/json_utils.py b/LCS/PyCommon/json_utils.py
index 7befce9c256..e23b336d8fb 100644
--- a/LCS/PyCommon/json_utils.py
+++ b/LCS/PyCommon/json_utils.py
@@ -79,5 +79,4 @@ def add_defaults_to_json_object_for_schema(json_object: dict, schema: str) -> di
     '''return a copy of the json object with defaults filled in accoring to the schema for all the missing properties'''
     copy_of_json_object = deepcopy(json_object)
     _DefaultValidatingDraft6Validator(schema).validate(copy_of_json_object)
-    print(copy_of_json_object)
     return copy_of_json_object
diff --git a/SAS/TMSS/test/tmss_test_data_django_models.py b/SAS/TMSS/test/tmss_test_data_django_models.py
index d8feba727b2..95ad4f9e97f 100644
--- a/SAS/TMSS/test/tmss_test_data_django_models.py
+++ b/SAS/TMSS/test/tmss_test_data_django_models.py
@@ -179,7 +179,7 @@ def TaskBlueprint_test_data(name='my_task_blueprint', task_draft: models.TaskDra
     return {"name": name,
             "description": "",
             "tags": [],
-            "specifications_doc": task_draft.specifications_doc if isinstance(task_draft.specifications_doc, str) else json.dumps(task_draft.specifications_doc),
+            "specifications_doc": task_draft.specifications_doc,
             "do_cancel": False,
             "draft": task_draft,
             "specifications_template": task_draft.specifications_template,
-- 
GitLab