mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Fix tests.
This commit is contained in:
parent
b8e8e5cba7
commit
6af8c8933e
@ -335,7 +335,7 @@ async def test_stop_capture(controller_api, project):
|
||||
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))
|
||||
assert mock.called
|
||||
assert response.status_code == 201
|
||||
assert response.status_code == 204
|
||||
|
||||
|
||||
# async def test_pcap(controller_api, http_client, project):
|
||||
|
Loading…
Reference in New Issue
Block a user