test:unit tests for configuration (#291)

* test:unit tests for configuration

* test: update the test_configuration.py file

* test: reformate the test codes
This commit is contained in:
Willem Jiang
2025-06-07 21:51:26 +08:00
committed by GitHub
parent c6ed423021
commit 8081a14c21
4 changed files with 182 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ def replace_env_vars(value: str) -> str:
return value
if value.startswith("$"):
env_var = value[1:]
return os.getenv(env_var, value)
return os.getenv(env_var, env_var)
return value