From e6b2ed1749f5daad7a15a878df301e017a15d832 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 25 May 2016 22:56:11 +0800 Subject: attach version number to url in testAPI version - /versions api - /api/v1/pods(projects/results) dashboard - /dashboard/v1/results I tried to make the code smart, but in vain, sad...... JIRA: FUNCTEST-261 Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d Signed-off-by: SerenaFeng --- result_collection_api/tests/unit/test_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'result_collection_api/tests/unit/test_project.py') diff --git a/result_collection_api/tests/unit/test_project.py b/result_collection_api/tests/unit/test_project.py index 6ce21db..c380780 100644 --- a/result_collection_api/tests/unit/test_project.py +++ b/result_collection_api/tests/unit/test_project.py @@ -14,7 +14,7 @@ class TestProjectBase(TestBase): self.get_res = Project self.list_res = Projects self.update_res = Project - self.basePath = '/projects' + self.basePath = '/api/v1/projects' def assert_body(self, project, req=None): if not req: -- cgit 1.2.3-korg