mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Update tests/test_litellm/proxy/hooks/test_proxy_hooks_init.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
8242f5bd19
commit
54c930d2ca
1 changed files with 1 additions and 1 deletions
|
|
@ -81,6 +81,6 @@ def test_enterprise_hooks_import_failure_logs_warning(monkeypatch, caplog):
|
|||
for record in caplog.records
|
||||
), "Expected a warning to be logged when enterprise hooks import fails"
|
||||
|
||||
monkeypatch.undo()
|
||||
monkeypatch.setattr(builtins, "__import__", real_import)
|
||||
sys.modules.pop("litellm.proxy.hooks", None)
|
||||
importlib.import_module("litellm.proxy.hooks")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue