mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
test: suppress TQ008 on proxy_server global patches, matching file idiom
This commit is contained in:
parent
ca9e121eb6
commit
686e8ddae7
1 changed files with 3 additions and 3 deletions
|
|
@ -1980,15 +1980,15 @@ async def test_proxy_track_cost_callback_carries_guardrail_info_to_sl_object():
|
|||
}
|
||||
|
||||
with (
|
||||
patch(
|
||||
patch( # test-quality-ok: spend counters are a proxy_server global the callback reads lazily, no seam
|
||||
"litellm.proxy.proxy_server.increment_spend_counters",
|
||||
new_callable=AsyncMock,
|
||||
),
|
||||
patch(
|
||||
patch( # test-quality-ok: update_cache is a proxy_server global the callback reads lazily, no seam
|
||||
"litellm.proxy.proxy_server.update_cache",
|
||||
new_callable=AsyncMock,
|
||||
),
|
||||
patch(
|
||||
patch( # test-quality-ok: callback imports proxy_logging_obj off proxy_server in its body, no seam
|
||||
"litellm.proxy.proxy_server.proxy_logging_obj",
|
||||
) as mock_proxy_logging,
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue