diff --git a/tests/modules/vmware/test_vmware_vm.py b/tests/modules/vmware/test_vmware_vm.py index ef0cb893..0e3b1651 100644 --- a/tests/modules/vmware/test_vmware_vm.py +++ b/tests/modules/vmware/test_vmware_vm.py @@ -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 diff --git a/tests/utils/test_interfaces.py b/tests/utils/test_interfaces.py index 401b0de1..2380ae3c 100644 --- a/tests/utils/test_interfaces.py +++ b/tests/utils/test_interfaces.py @@ -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