mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(proxy): call run_centralized_common_checks by its current name
main renamed the helper to run_centralized_common_checks and the test module now imports only that name, so the regression test added here raised NameError after the merge.
This commit is contained in:
parent
3a1eb5a65d
commit
161007b562
1 changed files with 1 additions and 1 deletions
|
|
@ -4864,7 +4864,7 @@ async def test_centralized_common_checks_runs_for_raw_passthrough_without_auth()
|
||||||
for attribute, value in attrs.items():
|
for attribute, value in attrs.items():
|
||||||
setattr(_proxy_server_mod, attribute, value)
|
setattr(_proxy_server_mod, attribute, value)
|
||||||
with pytest.raises(ProxyException) as exc_info:
|
with pytest.raises(ProxyException) as exc_info:
|
||||||
await _run_centralized_common_checks(
|
await run_centralized_common_checks(
|
||||||
user_api_key_auth_obj=token,
|
user_api_key_auth_obj=token,
|
||||||
request=request,
|
request=request,
|
||||||
request_data={
|
request_data={
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue