from pathlib import Path import pytest from .fixtures.load import canned_data_input, canned_data_output def pytest_generate_tests(metafunc): if "property_filepath" in metafunc.fixturenames: metafunc.parametrize( "property_filepath", Path((metafunc.config.rootdir / "/test_data/mock_backup_data")).glob( "*.properties" ), )