From af9860f96579e499699c97038eb270543edef08c Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 2 Dec 2021 22:15:23 +1030 Subject: [PATCH] Fix compute Docker test --- tests/compute/docker/test_docker_vm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/compute/docker/test_docker_vm.py b/tests/compute/docker/test_docker_vm.py index eb069144..cae2aa48 100644 --- a/tests/compute/docker/test_docker_vm.py +++ b/tests/compute/docker/test_docker_vm.py @@ -1015,6 +1015,7 @@ async def test_stop(vm): with asyncio_patch("gns3server.compute.docker.DockerVM._get_container_state", return_value="running"): with asyncio_patch("gns3server.compute.docker.Docker.query") as mock_query: + vm._permissions_fixed = False await vm.stop() mock_query.assert_called_with("POST", "containers/e90e34656842/stop", params={"t": 5}) assert mock.stop.called