This commit is contained in:
ruoyunbai 2025-09-29 13:09:08 +08:00
parent 73d580a62f
commit 22037a4309

View File

@ -1129,7 +1129,13 @@ async def run_api_tests(config: TestConfig):
"verbose": False
}
config_dict = {**hidden_defaults, **raw_config}
config_dict = hidden_defaults.copy()
for key, value in raw_config.items():
if value is None:
continue
if isinstance(value, str) and not value.strip():
continue
config_dict[key] = value
for default_path_key in ("custom_test_cases_dir", "stages_dir"):
default_path = config_dict.get(default_path_key)