Fix test for idlepc

This commit is contained in:
Julien Duponchelle committed 2016-05-23 11:27:47 +02:00
1 parent 7d055968e5
commit 3e6aec016b
1 file changed
+2 -2
+2 -2
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)