Cleanup an old kvm-ok test

This commit is contained in:
Julien Duponchelle committed 2016-01-28 17:54:29 +01:00
1 parent 889ea14973
commit 29089f1884
1 file changed
-6
-6
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):