Cleanup an old kvm-ok test

pull/416/head
Julien Duponchelle 9 years ago
parent 889ea14973
commit 29089f1884
No known key found for this signature in database
GPG Key ID: 0898C847450754FB

@ -177,12 +177,6 @@ def test_create_image_exist(loop, tmpdir, fake_qemu_img_binary):
assert not process.called 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): def test_get_kvm_archs_kvm_ok(loop):
with patch("os.path.exists", return_value=True): with patch("os.path.exists", return_value=True):

Loading…
Cancel
Save