From 0dcbe0cf46486c2d1b5e2dcf9238716548f037ad Mon Sep 17 00:00:00 2001 From: Kai-Uwe Hermann Date: Wed, 22 Nov 2023 14:19:47 +0100 Subject: [PATCH] Restrict config tests to files following the config-*.yaml convention Signed-off-by: Kai-Uwe Hermann --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3705cd7b39..92b51143ca 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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'] = []