test(proxy): boot the deprecated resolver flag test on the real ProxyConfig

This commit is contained in:
mateo-berri 2026-10-29 00:21:36 -07:00
parent 338a823f10
commit d381376e5d

View file

@ -2847,9 +2847,11 @@ class TestRunServerDbSetup:
monkeypatch: pytest.MonkeyPatch,
capsys: pytest.CaptureFixture[str],
) -> None:
from litellm.proxy.proxy_server import ProxyConfig
mock_proxy_module: Final = MagicMock(
app=MagicMock(),
ProxyConfig=MagicMock(),
ProxyConfig=ProxyConfig,
KeyManagementSettings=MagicMock(),
save_worker_config=MagicMock(),
)