mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-11 16:41:04 +00:00
Fix client/server version test.
This commit is contained in:
parent
d4f1084391
commit
2e40fb8608
@ -45,7 +45,8 @@ def test_version_invalid_input(http_controller):
|
|||||||
query = {'version': "0.4.2"}
|
query = {'version': "0.4.2"}
|
||||||
response = http_controller.post('/version', query)
|
response = http_controller.post('/version', query)
|
||||||
assert response.status == 409
|
assert response.status == 409
|
||||||
assert response.json == {'message': 'Client version 0.4.2 differs with server version {}'.format(__version__),
|
|
||||||
|
assert response.json == {'message': 'Client version 0.4.2 is not the same as server version {}'.format(__version__),
|
||||||
'status': 409}
|
'status': 409}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user