From 939ba5f6da217f2ffe60b841da570ed18ebf485d Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 21 Jun 2016 20:57:09 +0800 Subject: 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 --- result_collection_api/opnfv_testapi/resources/testcase_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'result_collection_api/opnfv_testapi/resources') 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 -- cgit 1.2.3-korg