From: SerenaFeng Date: Tue, 21 Jun 2016 12:52:57 +0000 (+0800) Subject: bugfix: correct the projects post response body in testAPI X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e35c513a882482546f556b79d75327d97e93f86f;p=releng-testresults.git bugfix: correct the projects post response body in testAPI change response class from Project to CreateResponse JIRA: FUNCTEST-328 Change-Id: I26d05b71251417b41701136d9c6bc786ba51393c Signed-off-by: SerenaFeng --- diff --git a/result_collection_api/opnfv_testapi/resources/project_handlers.py b/result_collection_api/opnfv_testapi/resources/project_handlers.py index 171ab76..1e9a972 100644 --- a/result_collection_api/opnfv_testapi/resources/project_handlers.py +++ b/result_collection_api/opnfv_testapi/resources/project_handlers.py @@ -38,7 +38,7 @@ class ProjectCLHandler(GenericProjectHandler): @param body: project to be created @type body: L{ProjectCreateRequest} @in body: body - @rtype: L{Project} + @rtype: L{CreateResponse} @return 200: project is created. @raise 403: project already exists @raise 400: body or name not provided