summaryrefslogtreecommitdiffstats
path: root/result_collection_api/tests/unit/test_dashboard.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-25 22:56:11 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-05-26 14:18:08 +0800
commite6b2ed1749f5daad7a15a878df301e017a15d832 (patch)
tree9ff6949f543269c06c0d7828f6a50a1b3b6ac807 /result_collection_api/tests/unit/test_dashboard.py
parentf204fed9d8519f994b085a1139f036bc40fcddbc (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 'result_collection_api/tests/unit/test_dashboard.py')
-rw-r--r--result_collection_api/tests/unit/test_dashboard.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/result_collection_api/tests/unit/test_dashboard.py b/result_collection_api/tests/unit/test_dashboard.py
index 1e0d22b..5c3f924 100644
--- a/result_collection_api/tests/unit/test_dashboard.py
+++ b/result_collection_api/tests/unit/test_dashboard.py
@@ -9,9 +9,9 @@ __author__ = '__serena__'
class TestDashboardBase(TestResultBase):
def setUp(self):
super(TestDashboardBase, self).setUp()
- self.basePath = '/dashboard'
- self.create_help('/results', self.req_d)
- self.create_help('/results', self.req_d)
+ self.basePath = '/dashboard/v1/results'
+ self.create_help('/api/v1/results', self.req_d)
+ self.create_help('/api/v1/results', self.req_d)
self.list_res = None