1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Cleanup an old kvm-ok test

This commit is contained in:
Julien Duponchelle 2016-01-28 17:54:29 +01:00
parent 889ea14973
commit 29089f1884
No known key found for this signature in database
GPG Key ID: 0898C847450754FB

View File

@ -177,12 +177,6 @@ def test_create_image_exist(loop, tmpdir, fake_qemu_img_binary):
assert not process.called
def test_get_kvm_archs_no_kvm(loop):
with asyncio_patch("asyncio.create_subprocess_exec", side_effect=FileNotFoundError('kvm-ok')):
archs = loop.run_until_complete(asyncio.async(Qemu.get_kvm_archs()))
assert archs == []
def test_get_kvm_archs_kvm_ok(loop):
with patch("os.path.exists", return_value=True):