diff --git a/LCS/PyCommon/json_utils.py b/LCS/PyCommon/json_utils.py index 7befce9c25609e9decc1161a5054c00a691da6ae..e23b336d8fbb3bbda6ff477d5c88deec28b2b866 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 d8feba727b2699b35f2fdd6d8aadcd025485cf6f..95ad4f9e97f3df4b8248f617ed5e61b601b37f69 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,