1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Fix vmware and interfaces tests

This commit is contained in:
Julien Duponchelle 2015-07-09 16:12:33 +02:00
parent a461cb71c6
commit c3eb6a440f
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ def test_vm(project, manager, vm):
def test_json(vm, tmpdir, project):
assert vm.__json__()["vm_directory"] is None
assert vm.__json__()["vm_directory"] is not None
project._path = str(tmpdir)
vm._linked_clone = True
assert vm.__json__()["vm_directory"] is not None

View File

@ -33,4 +33,4 @@ def test_is_interface_up():
assert is_interface_up("lo0") is True
else:
assert is_interface_up("lo") is True
assert is_interface_up("fake0") is False
assert is_interface_up("fake0") is False