mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
test add clear_existing_callbacks
This commit is contained in:
parent
cb68f5387c
commit
9cc144e3cb
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ from litellm.proxy.management_endpoints.callback_management_endpoints import rou
|
|||
from litellm.proxy.proxy_server import app
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True, scope="session")
|
||||
def clear_existing_callbacks():
|
||||
litellm.logging_callback_manager._reset_all_callbacks()
|
||||
|
||||
class TestCallbackManagementEndpoints:
|
||||
"""Test suite for callback management endpoints"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue