test(proxy): isolate environment variable encryption

This commit is contained in:
Yuneng Jiang 2026-09-17 21:07:02 -07:00
parent 463ece762a
commit 77a5e2cb64
No known key found for this signature in database

View file

@ -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)