mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Return just version number for API /v1/version for compatibility
This commit is contained in:
6 files changed
+20
-11
No files matched your search
@@ -1 +0,0 @@
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user