Return just version number for API /v1/version for compatibility

This commit is contained in:
Julien Duponchelle committed 2016-03-07 18:17:24 +01:00
1 parent b2ce7ee8d7
commit 8114c1d4be
6 files changed
+20 -11

No files matched your search

@@ -1 +0,0 @@
+8
View File
@@ -34,3 +34,11 @@ def test_index(http_root):
def test_status(http_root):
response = http_root.get('/status')
assert response.status == 200
def test_v1(http_root):
"""
The old api v1 raise a 429
"""
response = http_root.get('/v1/version')
assert response.status == 200