bugfix: correct the testcases post response body in testAPI 27/15927/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 21 Jun 2016 12:57:09 +0000 (20:57 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 21 Jun 2016 12:57:09 +0000 (20:57 +0800)
correct response class from Testcase to CreateResponse

JIRA: FUNCTEST-329

Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/result_collection_api/opnfv_testapi/resources/testcase_handlers.py

index b4f9db9..253aa66 100644 (file)
@@ -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