summaryrefslogtreecommitdiffstats
path: root/result_collection_api
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-21 21:01:51 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-21 21:01:51 +0800
commiteb996940d968cbf08f31e6899d54ba1d77a1cf5c (patch)
tree849e628bbffd95d57616aad4a088b99125bd1f6e /result_collection_api
parentce6d286ed760c850e623d196e4480d02951ade43 (diff)
bugfix: correct the results post response body in testAPI
change response class from Result to CreateResponse JIRA: FUNCTEST: FUNCTEST-330 Change-Id: Ibc3ebdacaa7b85e4b4a53d459888440b47073d18 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api')
-rw-r--r--result_collection_api/opnfv_testapi/resources/result_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/result_collection_api/opnfv_testapi/resources/result_handlers.py b/result_collection_api/opnfv_testapi/resources/result_handlers.py
index fe2d71e..56bed6c 100644
--- a/result_collection_api/opnfv_testapi/resources/result_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/result_handlers.py
@@ -134,7 +134,7 @@ class ResultsCLHandler(GenericResultHandler):
@param body: result to be created
@type body: L{ResultCreateRequest}
@in body: body
- @rtype: L{TestResult}
+ @rtype: L{CreateResponse}
@return 200: result is created.
@raise 404: pod/project/testcase not exist
@raise 400: body/pod_name/project_name/case_name not provided