summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/result_collection_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/result_collection_api/result_collection_api.py')
-rw-r--r--utils/test/result_collection_api/result_collection_api.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/test/result_collection_api/result_collection_api.py b/utils/test/result_collection_api/result_collection_api.py
index b9a9971c7..704d6075c 100644
--- a/utils/test/result_collection_api/result_collection_api.py
+++ b/utils/test/result_collection_api/result_collection_api.py
@@ -34,7 +34,7 @@ import motor
import argparse
from resources.handlers import VersionHandler, PodHandler, \
- TestProjectHandler, TestCasesHandler, TestResultsHandler, DashboardHandler
+ ProjectHandler, TestcaseHandler, TestResultsHandler, DashboardHandler
from common.config import APIConfig
@@ -65,14 +65,14 @@ def make_app():
# few examples:
# GET /projects
# GET /projects/yardstick
- (r"/projects", TestProjectHandler),
- (r"/projects/([^/]+)", TestProjectHandler),
+ (r"/projects", ProjectHandler),
+ (r"/projects/([^/]+)", ProjectHandler),
# few examples
# GET /projects/qtip/cases => Get cases for qtip
#
- (r"/projects/([^/]+)/cases", TestCasesHandler),
- (r"/projects/([^/]+)/cases/([^/]+)", TestCasesHandler),
+ (r"/projects/([^/]+)/cases", TestcaseHandler),
+ (r"/projects/([^/]+)/cases/([^/]+)", TestcaseHandler),
# (r"/test_cases/([^/]+)", TestCasesHandler),
# new path to avoid a long depth