mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-29 15:44:24 +00:00
Fix tests.
This commit is contained in:
parent
2340823f53
commit
c41c01b95f
@ -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()))
|
||||
|
||||
|
@ -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": "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user