diff --git a/src/ifcopenshell-python/test/test_wall_opening.py b/src/ifcopenshell-python/test/test_wall_opening.py index 75da8af33d..f331297e73 100644 --- a/src/ifcopenshell-python/test/test_wall_opening.py +++ b/src/ifcopenshell-python/test/test_wall_opening.py @@ -145,7 +145,7 @@ def create_case(fn, openings): class TestWallOpenings: - @pytest.mark.skipif(shutil.which("IfcConvert"), reason="Requires IfcConvert in path") + @pytest.mark.skipif(shutil.which("IfcConvert") is None, reason="Requires IfcConvert in path") def test_all(self): cases = [ @@ -245,4 +245,4 @@ class TestWallOpenings: if __name__ == "__main__": - TestWallOpenings().test_all() + pytest.main(["-x", __file__])