1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix version output test

This commit is contained in:
grossmj 2021-10-21 21:48:53 +10:30
parent bb15b13a9d
commit 442a23836e

View File

@ -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: