Merge "RootController: Use an index method instead of get"
This commit is contained in:
commit
c37565782f
|
@ -117,7 +117,7 @@ class RootController(rest.RestController):
|
||||||
v1 = v1_api.V1Controller()
|
v1 = v1_api.V1Controller()
|
||||||
|
|
||||||
@wsme_pecan.wsexpose([APIVersion])
|
@wsme_pecan.wsexpose([APIVersion])
|
||||||
def get(self):
|
def index(self):
|
||||||
"""Return the version list
|
"""Return the version list
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue