Skip to content
Snippets Groups Projects
Commit 430a4706 authored by Auke Klazema's avatar Auke Klazema
Browse files

TMSS-243: Reverse some more API url changes

parent b1f8e86f
No related branches found
No related tags found
1 merge request!191Resolve TMSS-243
......@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment