You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
399 B

  1. from pathlib import Path
  2. import pytest
  3. from .fixtures.load import canned_data_input, canned_data_output
  4. def pytest_generate_tests(metafunc):
  5. if "property_filepath" in metafunc.fixturenames:
  6. metafunc.parametrize(
  7. "property_filepath",
  8. Path((metafunc.config.rootdir / "/test_data/mock_backup_data")).glob(
  9. "*.properties"
  10. ),
  11. )