Qemu fixes for windows

This commit is contained in:
Julien Duponchelle
2016-09-27 18:01:50 +02:00
parent 20772a310b
commit fd3ac65eb5
4 changed files with 32 additions and 35 deletions

View File

@ -185,7 +185,7 @@ def test_get_kvm_archs_kvm_ok(loop):
if platform.machine() == 'x86_64':
assert archs == ['x86_64', 'i386']
else:
assert archs == platform.machine()
assert archs == [ platform.machine() ]
with patch("os.path.exists", return_value=False):
archs = loop.run_until_complete(asyncio.async(Qemu.get_kvm_archs()))