diff options
author | 2016-06-21 21:01:51 +0800 | |
---|---|---|
committer | 2016-06-21 21:01:51 +0800 | |
commit | a74d3047d0abb3219d12e3b55321adfb78789561 (patch) | |
tree | 538755cae810f5a2c18dda87c1671ad2b5a48a3b /utils | |
parent | db0085ebc1b1741034b73533d9babeab13e40e14 (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 'utils')
-rw-r--r-- | utils/test/result_collection_api/opnfv_testapi/resources/result_handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/resources/result_handlers.py b/utils/test/result_collection_api/opnfv_testapi/resources/result_handlers.py index fe2d71e5e..56bed6c81 100644 --- a/utils/test/result_collection_api/opnfv_testapi/resources/result_handlers.py +++ b/utils/test/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 |