mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 09:14:52 +02:00
Fix version output test
This commit is contained in:
parent
bb15b13a9d
commit
442a23836e
@ -29,7 +29,7 @@ async def test_version_output(app: FastAPI, client: AsyncClient) -> None:
|
||||
|
||||
response = await client.get(app.url_path_for("get_version"))
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
assert response.json() == {'controller_host': None, 'local': True, 'version': __version__}
|
||||
assert response.json() == {'controller_host': '127.0.0.1', 'local': True, 'version': __version__}
|
||||
|
||||
|
||||
async def test_version_input(app: FastAPI, client: AsyncClient) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user