diff --git a/tests/test_libzim_file_reader.py b/tests/test_libzim_file_reader.py index 29aa0868..971564b0 100644 --- a/tests/test_libzim_file_reader.py +++ b/tests/test_libzim_file_reader.py @@ -26,6 +26,8 @@ def zimdata(request): @pytest.fixture def reader(zimdata): + if not zimdata["filename"].exists(): + pytest.skip(f"{zimdata['filename']} doesn't exist") return File(zimdata["filename"])