From 430a4706be76b1f93e4b09333618cf90d40896cb Mon Sep 17 00:00:00 2001
From: "Auke L. Klazema" <klazema@astron.nl>
Date: Wed, 12 Aug 2020 15:48:37 +0200
Subject: [PATCH] TMSS-243: Reverse some more API url changes

---
 SAS/TMSS/test/tmss_test_data_rest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/test/tmss_test_data_rest.py b/SAS/TMSS/test/tmss_test_data_rest.py
index e05692bf1c3..7d3657f39d1 100644
--- a/SAS/TMSS/test/tmss_test_data_rest.py
+++ b/SAS/TMSS/test/tmss_test_data_rest.py
@@ -257,7 +257,7 @@ class TMSSRESTTestDataCreator():
             scheduling_unit_draft_url = self.post_data_and_get_url(self.SchedulingUnitDraft(), '/scheduling_unit_draft/')
     
         if template_url is None:
-            template_url = self.post_data_and_get_url(self.SchedulingUnitTemplate(), 'scheduling_unit_template/')
+            template_url = self.post_data_and_get_url(self.SchedulingUnitTemplate(), '/scheduling_unit_template/')
     
         return {"name": name,
                 "description": "This is my run blueprint",
@@ -414,7 +414,7 @@ class TMSSRESTTestDataCreator():
             specifications_template_url = self.post_data_and_get_url(self.SubtaskTemplate(), '/subtask_template/')
 
         if specifications_doc is None:
-            specifications_doc = requests.get(specifications_template_url + '/default_specification/', auth=self.auth).content.decode('utf-8')
+            specifications_doc = requests.get(specifications_template_url + 'default_specification/', auth=self.auth).content.decode('utf-8')
 
         return {"start_time": datetime.utcnow().isoformat(),
                 "stop_time": datetime.utcnow().isoformat(),
-- 
GitLab