From: SerenaFeng Date: Tue, 21 Jun 2016 12:57:09 +0000 (+0800) Subject: bugfix: correct the testcases post response body in testAPI X-Git-Tag: colorado.1.0~334^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4a215dddf96d49166f4a6b2058b7a04a0c7d93f3;p=releng.git 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 --- diff --git a/utils/test/result_collection_api/opnfv_testapi/resources/testcase_handlers.py b/utils/test/result_collection_api/opnfv_testapi/resources/testcase_handlers.py index b4f9db96d..253aa6649 100644 --- a/utils/test/result_collection_api/opnfv_testapi/resources/testcase_handlers.py +++ b/utils/test/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