From 6d7d7e06cb064c466f83d2c5fa06fd2b1d81a4f4 Mon Sep 17 00:00:00 2001 From: Domenic Barbuzzi Date: Mon, 4 Nov 2024 20:19:24 +0000 Subject: [PATCH] Move config["testconfig_path"] assignment --- tests/testing_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testing_utils.py b/tests/testing_utils.py index 8626367be..faed0da6d 100644 --- a/tests/testing_utils.py +++ b/tests/testing_utils.py @@ -83,10 +83,11 @@ def _parse_configs_dir(current_config_dir): for file in os.listdir(current_config_dir): config_path = os.path.join(current_config_dir, file) config = _load_yaml(config_path) - config["testconfig_path"] = config_path if not config: continue + config["testconfig_path"] = config_path + cadence = os.environ.get("CADENCE", "commit") expected_cadence = config.get("cadence")