Fix tests.

This commit is contained in:
grossmj 2019-05-18 19:19:27 +07:00
parent 2340823f53
commit c41c01b95f
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ def test_vm_create(loop, tmpdir, project, manager, fake_qemu_binary):
f.write('hello')
vm = QemuVM("test", "00010203-0405-0607-0809-0a0b0c0d0e0f", project, manager, qemu_path=fake_qemu_binary)
vm._hda_disk_image = fake_img
vm._hda_disk_image = fake_img
loop.run_until_complete(asyncio.ensure_future(vm.create()))

View File

@ -811,7 +811,7 @@ def test_ethernet_switch_template_create(http_controller):
"builtin": False,
"category": "switch",
"compute_id": "local",
"console_type": "telnet",
"console_type": "none",
"default_name_format": "Switch{0}",
"name": "Ethernet switch template",
"ports_mapping": [{"ethertype": "",