Skip to content

Commit

Permalink
Restrict config tests to files following the config-*.yaml convention
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Dec 22, 2023
1 parent bb8128c commit 0dcbe0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def pytest_configure(config):
everest_prefix = config.getoption('--everest-prefix')
everest_config_path = Path(everest_prefix) / 'etc/everest'
everest_configs = [path for path in everest_config_path.iterdir(
) if path.name.startswith('config-') and path.name.endswith('yaml')]
) if path.name.startswith('config-') and path.name.endswith('.yaml')]
pytest.everest_configs = {}
pytest.everest_configs['params'] = []
pytest.everest_configs['ids'] = []
Expand Down

0 comments on commit 0dcbe0c

Please sign in to comment.