From 2f3e4fa72435548c4ee72f10a6ea2565392a722a Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Fri, 18 Sep 2026 02:17:52 -0700 Subject: [PATCH] test(proxy): pass the new pass-through argument to the side-effect dispatcher _apply_general_settings_side_effects grew a fourth argument when the reload started comparing the resolved pass-through list, and this dispatch test calls it positionally, so it failed with a TypeError. --- tests/test_litellm/proxy/proxy_server/test_proxy_config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py b/tests/test_litellm/proxy/proxy_server/test_proxy_config.py index 44283109235..42cd6e4ed78 100644 --- a/tests/test_litellm/proxy/proxy_server/test_proxy_config.py +++ b/tests/test_litellm/proxy/proxy_server/test_proxy_config.py @@ -3807,13 +3807,15 @@ async def test_ProxyConfig__update_general_settings_dispatches_every_side_effect for name, handler in handlers: monkeypatch.setattr(pc, name, handler) - await pc._apply_general_settings_side_effects({}, False, ()) + await pc._apply_general_settings_side_effects({}, False, (), None) for name, handler in handlers: if name == "_apply_cache_size_setting": handler.assert_awaited_once_with({}, cache_size_was_db=False) elif name == "_apply_retention_settings": handler.assert_awaited_once_with({}, previous_retention_values=()) + elif name == "_apply_pass_through_settings": + handler.assert_awaited_once_with({}, previous_endpoints=None) else: handler.assert_awaited_once_with({})