1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00

Fix tests.

This commit is contained in:
grossmj 2020-10-19 18:47:25 +10:30
parent b8e8e5cba7
commit 6af8c8933e

View File

@ -335,7 +335,7 @@ async def test_stop_capture(controller_api, project):
with asyncio_patch("gns3server.controller.link.Link.stop_capture") as mock: with asyncio_patch("gns3server.controller.link.Link.stop_capture") as mock:
response = await controller_api.post("/projects/{}/links/{}/stop_capture".format(project.id, link.id)) response = await controller_api.post("/projects/{}/links/{}/stop_capture".format(project.id, link.id))
assert mock.called assert mock.called
assert response.status_code == 201 assert response.status_code == 204
# async def test_pcap(controller_api, http_client, project): # async def test_pcap(controller_api, http_client, project):