From a79249aa9e4cca3201e81e80ae9c117f89dda7c7 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 28 May 2015 12:05:19 +0200 Subject: [PATCH] Fix tests after merge --- tests/modules/virtualbox/test_virtualbox_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modules/virtualbox/test_virtualbox_manager.py b/tests/modules/virtualbox/test_virtualbox_manager.py index 84e06870..8d453137 100644 --- a/tests/modules/virtualbox/test_virtualbox_manager.py +++ b/tests/modules/virtualbox/test_virtualbox_manager.py @@ -71,7 +71,7 @@ def test_vboxmanage_path(manager, tmpdir): assert manager.find_vboxmanage() == path -def test_get_list(manager, loop): +def test_list_images(manager, loop): vm_list = ['"Windows 8.1" {27b4d095-ff5f-4ac4-bb9d-5f2c7861c1f1}', '"Carriage', 'Return" {27b4d095-ff5f-4ac4-bb9d-5f2c7861c1f1}', @@ -91,7 +91,7 @@ def test_get_list(manager, loop): with asyncio_patch("gns3server.modules.virtualbox.VirtualBox.execute") as mock: mock.side_effect = execute_mock - vms = loop.run_until_complete(asyncio.async(manager.get_list())) + vms = loop.run_until_complete(asyncio.async(manager.list_images())) assert vms == [ {"vmname": "Windows 8.1", "ram": 512}, {"vmname": "Linux Microcore 4.7.1", "ram": 256}