diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-05-25 22:56:11 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-05-26 14:18:08 +0800 |
commit | 119faa49c41ab093aaa9767e906b448198e5c6c4 (patch) | |
tree | a0733809af20e1dbf35d1ebcf851f2973603b4c2 /utils/test/result_collection_api/tests/unit/test_project.py | |
parent | f41cc29366b2660ef7d9cb85be6b04b737526f45 (diff) |
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 <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/tests/unit/test_project.py')
-rw-r--r-- | utils/test/result_collection_api/tests/unit/test_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/tests/unit/test_project.py b/utils/test/result_collection_api/tests/unit/test_project.py index 6ce21db24..c38078098 100644 --- a/utils/test/result_collection_api/tests/unit/test_project.py +++ b/utils/test/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: |