diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-21 20:52:57 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-21 20:52:57 +0800 |
commit | e35c513a882482546f556b79d75327d97e93f86f (patch) | |
tree | 215c47e95b6a827e8ce06df59ee5343271a72207 /result_collection_api | |
parent | ce6d286ed760c850e623d196e4480d02951ade43 (diff) |
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 <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api')
-rw-r--r-- | result_collection_api/opnfv_testapi/resources/project_handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |