1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix test for idlepc

This commit is contained in:
Julien Duponchelle 2016-05-23 11:08:36 +02:00
parent 7d055968e5
commit 3e6aec016b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -182,7 +182,7 @@ def test_dynamips_idle_pc(node, async_run, compute):
compute.get = AsyncioMagicMock(return_value=response)
async_run(node.dynamips_auto_idlepc())
compute.get.assert_called_with("/projects/{}/dynamips/nodes/{}/auto_idlepc".format(node.project.id, node.id))
compute.get.assert_called_with("/projects/{}/dynamips/nodes/{}/auto_idlepc".format(node.project.id, node.id), timeout=240)
def test_dynamips_idlepc_proposals(node, async_run, compute):
@ -192,4 +192,4 @@ def test_dynamips_idlepc_proposals(node, async_run, compute):
compute.get = AsyncioMagicMock(return_value=response)
async_run(node.dynamips_idlepc_proposals())
compute.get.assert_called_with("/projects/{}/dynamips/nodes/{}/idlepc_proposals".format(node.project.id, node.id))
compute.get.assert_called_with("/projects/{}/dynamips/nodes/{}/idlepc_proposals".format(node.project.id, node.id), timeout=240)