attach version number to url in testAPI
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 25 May 2016 14:56:11 +0000 (22:56 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 26 May 2016 06:18:08 +0000 (14:18 +0800)
commite6b2ed1749f5daad7a15a878df301e017a15d832
tree9ff6949f543269c06c0d7828f6a50a1b3b6ac807
parentf204fed9d8519f994b085a1139f036bc40fcddbc
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>
result_collection_api/resources/handlers.py
result_collection_api/result_collection_api.py
result_collection_api/tests/unit/test_base.py
result_collection_api/tests/unit/test_dashboard.py
result_collection_api/tests/unit/test_pod.py
result_collection_api/tests/unit/test_project.py
result_collection_api/tests/unit/test_result.py
result_collection_api/tests/unit/test_testcase.py
result_collection_api/tests/unit/test_version.py