From c393e8d0442b0ec643e94183967ae6dc22e84a62 Mon Sep 17 00:00:00 2001 From: apex-mochen <2756823972@qq.com> Date: Tue, 29 Sep 2026 00:51:10 +0800 Subject: [PATCH] test: remove redundant assertion comment --- .../proxy/management_endpoints/test_key_management_endpoints.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_litellm/proxy/management_endpoints/test_key_management_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_key_management_endpoints.py index 65eea371982..a72723a94a7 100644 --- a/tests/test_litellm/proxy/management_endpoints/test_key_management_endpoints.py +++ b/tests/test_litellm/proxy/management_endpoints/test_key_management_endpoints.py @@ -6611,7 +6611,6 @@ async def test_info_key_fn_no_key_returns_400_not_500(monkeypatch): with pytest.raises(ProxyException) as exc_info: await info_key_fn(key=None, user_api_key_dict=auth) assert exc_info.value.code == "400" - # The prisma find_unique must never be called with token=None mock_prisma_client.db.litellm_verificationtoken.find_unique.assert_not_called()