summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/resources/handlers.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-26 06:39:07 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-26 06:39:07 +0000
commit2377f84d9142dad19bfabc795d3a5a73e3c67533 (patch)
tree80ca788cb1dfe5a6241a102c61c8eea26cd4d9d7 /utils/test/result_collection_api/resources/handlers.py
parent3942c39c0b7b460a40571b70b5647bf147b298b3 (diff)
parent119faa49c41ab093aaa9767e906b448198e5c6c4 (diff)
Merge "attach version number to url in testAPI"
Diffstat (limited to 'utils/test/result_collection_api/resources/handlers.py')
-rw-r--r--utils/test/result_collection_api/resources/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/result_collection_api/resources/handlers.py b/utils/test/result_collection_api/resources/handlers.py
index 8cc68e912..435334341 100644
--- a/utils/test/result_collection_api/resources/handlers.py
+++ b/utils/test/result_collection_api/resources/handlers.py
@@ -73,10 +73,10 @@ class GenericApiHandler(RequestHandler):
return CreateResponse(href=href).format()
-class VersionHandler(RequestHandler):
+class VersionHandler(GenericApiHandler):
""" Display a message for the API version """
def get(self):
- self.write("Collection of test result API, v1")
+ self.finish_request([{'v1': 'basics'}])
class PodHandler(GenericApiHandler):