From 745532bf237c5082588c1f6ffbac4deb68946659 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 23 Nov 2017 23:46:22 +0700 Subject: [PATCH] Fix auto idlepc 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 e9b3f528..ecdf1d59 100644 --- a/tests/controller/test_controller.py +++ b/tests/controller/test_controller.py @@ -541,6 +541,6 @@ def test_autoidlepc(controller, async_run): controller._computes["local"] = AsyncioMagicMock() node_mock = AsyncioMagicMock() with asyncio_patch("gns3server.controller.Project.add_node", return_value=node_mock): - async_run(controller.autoidlepc("local", "c7200", "test.bin")) + async_run(controller.autoidlepc("local", "c7200", "test.bin", 512)) assert node_mock.dynamips_auto_idlepc.called assert len(controller.projects) == 0