mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 07:56:48 +00: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