mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 07:23:47 +02:00
Fix auto idlepc test.
This commit is contained in:
parent
78cf0309a0
commit
745532bf23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user