Skip to content
Snippets Groups Projects
Commit 1aa90919 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-14138: Fixed tests to not fail on jenkins

parent 237199ee
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -70,7 +70,7 @@ def test_get_project_by_code(space): ...@@ -70,7 +70,7 @@ def test_get_project_by_code(space):
timestamp = time.strftime("%a_%y%m%d_%H%M%S").upper() timestamp = time.strftime("%a_%y%m%d_%H%M%S").upper()
space_code_1 = "space_1_" + timestamp space_code_1 = "space_1_" + timestamp + "_" + str(random.randint(0, 1000))
project_code = "project_" + timestamp project_code = "project_" + timestamp
o.new_space(code=space_code_1).save() o.new_space(code=space_code_1).save()
...@@ -85,8 +85,8 @@ def test_get_project_fail_because_of_multiple_projects_existing(space): ...@@ -85,8 +85,8 @@ def test_get_project_fail_because_of_multiple_projects_existing(space):
timestamp = time.strftime("%a_%y%m%d_%H%M%S").upper() timestamp = time.strftime("%a_%y%m%d_%H%M%S").upper()
space_code_1 = "space_1_" + timestamp space_code_1 = "space_1_" + timestamp + "_" + str(random.randint(0, 1000))
space_code_2 = "space_2_" + timestamp space_code_2 = "space_2_" + timestamp + "_" + str(random.randint(0, 1000))
project_code = "project_" + timestamp project_code = "project_" + timestamp
o.new_space(code=space_code_1).save() o.new_space(code=space_code_1).save()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment