test: give the stream usage persistence test its own ProxyConfig

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mateo 2026-11-07 19:18:49 +00:00
parent 8fd7f2d8dd
commit 9d12c2c4e2

View file

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