Skip to content

Commit

Permalink
Include testconfig_path in parsed config data
Browse files Browse the repository at this point in the history
Signed-off-by: Domenic Barbuzzi <domenic@neuralmagic.com>
  • Loading branch information
dbarbuzzi committed Nov 4, 2024
1 parent d7f09c1 commit c58b75b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def _parse_configs_dir(current_config_dir):
), f"Config_directory {current_config_dir} is not a directory"

for file in os.listdir(current_config_dir):
config = _load_yaml(os.path.join(current_config_dir, file))
config_path = os.path.join(current_config_dir, file)
config = _load_yaml(config_path)
config["testconfig_path"] = config_path
if not config:
continue

Expand Down

0 comments on commit c58b75b

Please sign in to comment.