from pathlib import Path import pytest @pytest.fixture def example_file(request): root_dir = Path(request.config.rootdir) data_dir = root_dir / "test data" return data_dir / "Verwendungsnachweis_und_Kassenstand_SAP_Zahlen.xlsx"