summaryrefslogtreecommitdiffstats
path: root/result_collection_api
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-21 20:57:09 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-21 20:57:09 +0800
commit939ba5f6da217f2ffe60b841da570ed18ebf485d (patch)
treecaa7dff5267459a1c055c6b6ff8f044855f9baeb /result_collection_api
parentce6d286ed760c850e623d196e4480d02951ade43 (diff)
bugfix: correct the testcases post response body in testAPI
correct response class from Testcase to CreateResponse JIRA: FUNCTEST-329 Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api')
-rw-r--r--result_collection_api/opnfv_testapi/resources/testcase_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/result_collection_api/opnfv_testapi/resources/testcase_handlers.py b/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
index b4f9db9..253aa66 100644
--- a/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
@@ -41,7 +41,7 @@ class TestcaseCLHandler(GenericTestcaseHandler):
@param body: testcase to be created
@type body: L{TestcaseCreateRequest}
@in body: body
- @rtype: L{Testcase}
+ @rtype: L{CreateResponse}
@return 200: testcase is created in this project.
@raise 403: project not exist
or testcase already exists in this project