From e3b3427cc6407e35df08de906c69748a99c4a6ae Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 5 Dec 2017 20:30:28 -0600 Subject: [PATCH] Fix GNS3 VM start test. --- tests/controller/test_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controller/test_controller.py b/tests/controller/test_controller.py index dc8bdbaf..4b39a830 100644 --- a/tests/controller/test_controller.py +++ b/tests/controller/test_controller.py @@ -388,7 +388,7 @@ def test_start_vm(controller, async_run): "vmname": "GNS3 VM" } with asyncio_patch("gns3server.controller.gns3vm.vmware_gns3_vm.VMwareGNS3VM.start") as mock: - with asyncio_patch("gns3server.controller.gns3vm.vmware_gns3_vm.VMwareGNS3VM._check_network") as mock_check_network: + with asyncio_patch("gns3server.controller.gns3vm.GNS3VM._check_network") as mock_check_network: with asyncio_patch("gns3server.controller.compute.Compute.connect") as mock_connect: async_run(controller.start()) assert mock.called