From 9fbe23e09bdfc56d178f87c576eb39463efd6b93 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 19 Sep 2016 16:55:48 +0200 Subject: [PATCH] Fix a test error --- tests/controller/test_project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 3945a269..113452dc 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -407,8 +407,8 @@ def test_duplicate(project, async_run, controller): async_run(new_project.open()) - assert new_project.get_node(remote_vpcs.id).compute.id == "remote" - assert new_project.get_node(remote_virtualbox.id).compute.id == "remote" + assert list(new_project.nodes.values())[0].compute.id == "remote" + assert list(new_project.nodes.values())[1].compute.id == "remote" def test_snapshots(project):