mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 08:44:52 +02:00
Fix vmware and interfaces tests
This commit is contained in:
parent
a461cb71c6
commit
c3eb6a440f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user