From 394b3a6fbf78d34b7e82eb929f98619e454e50af Mon Sep 17 00:00:00 2001
From: jkuensem <jkuensem@physik.uni-bielefeld.de>
Date: Wed, 2 Sep 2020 19:40:06 +0200
Subject: [PATCH] TMSS-332: fix tests

---
 SAS/TMSS/test/tmss_test_data_django_models.py | 3 ++-
 SAS/TMSS/test/tmss_test_data_rest.py          | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/test/tmss_test_data_django_models.py b/SAS/TMSS/test/tmss_test_data_django_models.py
index dd093be1605..beb081a21e0 100644
--- a/SAS/TMSS/test/tmss_test_data_django_models.py
+++ b/SAS/TMSS/test/tmss_test_data_django_models.py
@@ -133,7 +133,8 @@ def Project_test_data() -> dict:
                "can_trigger": False,
                "private_data": True,
                "expert": True,
-               "filler": False}
+               "filler": False,
+               "archive_subdirectory": "my_project/"}
 
 def ResourceType_test_data() -> dict:
     return  {
diff --git a/SAS/TMSS/test/tmss_test_data_rest.py b/SAS/TMSS/test/tmss_test_data_rest.py
index d919fbbcc46..239367b34aa 100644
--- a/SAS/TMSS/test/tmss_test_data_rest.py
+++ b/SAS/TMSS/test/tmss_test_data_rest.py
@@ -176,7 +176,8 @@ class TMSSRESTTestDataCreator():
                 "trigger_priority": 1000,
                 "can_trigger": False,
                 "private_data": True,
-                "cycles": []}
+                "cycles": [],
+                "archive_subdirectory": 'my_project/'}
 
     def ResourceType(self, description="my resource_type description"):
         return {
-- 
GitLab