""" Global test fixtures and Mocks """ from pathlib import Path import pytest class MockWorkbookSheet: def __init__(self, data): self._data = data @property def rows(self): return iter(self._data) @pytest.fixture def example_root(request): root_dir = Path(request.config.rootdir) yield root_dir / "test data"