From 6af8c8933eeb7e5a579650f3252a6ecc73d470c7 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 19 Oct 2020 18:47:25 +1030 Subject: [PATCH] Fix tests. --- tests/endpoints/controller/test_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/endpoints/controller/test_links.py b/tests/endpoints/controller/test_links.py index bb087ee2f..553edfa6c 100644 --- a/tests/endpoints/controller/test_links.py +++ b/tests/endpoints/controller/test_links.py @@ -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):