From 9d12c2c4e2eaaffecb6c6c4119e7ab7bcd8faf77 Mon Sep 17 00:00:00 2001 From: mateo <277851410+mateo-berri@users.noreply.github.com> Date: Sat, 7 Nov 2026 19:18:49 +0000 Subject: [PATCH] test: give the stream usage persistence test its own ProxyConfig Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/unit/proxy/test_proxy_server_endpoints_and_startup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/proxy/test_proxy_server_endpoints_and_startup.py b/tests/unit/proxy/test_proxy_server_endpoints_and_startup.py index b6cf803dba1..2776475f98e 100644 --- a/tests/unit/proxy/test_proxy_server_endpoints_and_startup.py +++ b/tests/unit/proxy/test_proxy_server_endpoints_and_startup.py @@ -12589,6 +12589,7 @@ async def test_update_config_general_settings_persists_always_include_stream_usa fake = _fake_prisma_with_config({}) monkeypatch.setattr(proxy_server_module, "prisma_client", fake) + monkeypatch.setattr(proxy_server_module, "proxy_config", proxy_server_module.ProxyConfig()) monkeypatch.setattr(litellm, "store_audit_logs", False) admin = UserAPIKeyAuth(api_key="hashed-admin", user_id="admin-1", user_role=LitellmUserRoles.PROXY_ADMIN)