Skip to content

Commit 51d6bcc

Browse files
committed
fix: replace pytest.skip with FileNotFoundError in fixture to enforce test runs
1 parent 51f27ff commit 51d6bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def zoom_raw_path():
77
path = os.path.join("test_data", "MS2_MS1_zoom.raw")
88
if not os.path.exists(path):
9-
pytest.skip(f"Test file {path} not found")
9+
raise FileNotFoundError(f"Test file {path} not found")
1010
return path
1111

1212
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)