mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
test(proxy): isolate environment variable encryption
This commit is contained in:
parent
463ece762a
commit
77a5e2cb64
1 changed files with 1 additions and 0 deletions
|
|
@ -1252,6 +1252,7 @@ async def test_ProxyConfig_save_config_persists_unchanged_environment_variables_
|
|||
"litellm_settings": {},
|
||||
"environment_variables": {"OPENAI_API_KEY": "sk-explicit"},
|
||||
}
|
||||
monkeypatch.setattr("litellm.proxy.proxy_server.master_key", "sk-test-salt-key")
|
||||
|
||||
await proxy_config.save_config(config)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue