Merge "RootController: Use an index method instead of get"

This commit is contained in:
Jenkins 2016-08-22 12:41:00 +00:00 committed by Gerrit Code Review
commit c37565782f
2 changed files with 13 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class RootController(rest.RestController):
v1 = v1_api.V1Controller()
@wsme_pecan.wsexpose([APIVersion])
def get(self):
def index(self):
"""Return the version list
"""

View File

@ -0,0 +1,12 @@
fixtures:
- ConfigFixture
tests:
- name: test if / is publicly available
url: /
status: 200
- name: test if HEAD / is available
url: /
status: 200
method: HEAD