summaryrefslogtreecommitdiffstats
path: root/result_collection_api
diff options
context:
space:
mode:
Diffstat (limited to 'result_collection_api')
-rw-r--r--result_collection_api/opnfv_testapi/resources/project_handlers.py2
-rw-r--r--result_collection_api/opnfv_testapi/resources/result_handlers.py2
-rw-r--r--result_collection_api/opnfv_testapi/resources/testcase_handlers.py2
3 files changed, 3 insertions, 3 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
diff --git a/result_collection_api/opnfv_testapi/resources/result_handlers.py b/result_collection_api/opnfv_testapi/resources/result_handlers.py
index fe2d71e..56bed6c 100644
--- a/result_collection_api/opnfv_testapi/resources/result_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/result_handlers.py
@@ -134,7 +134,7 @@ class ResultsCLHandler(GenericResultHandler):
@param body: result to be created
@type body: L{ResultCreateRequest}
@in body: body
- @rtype: L{TestResult}
+ @rtype: L{CreateResponse}
@return 200: result is created.
@raise 404: pod/project/testcase not exist
@raise 400: body/pod_name/project_name/case_name not provided
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