mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 05:14:45 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user