forked from phoenix/litellm-mirror
(test) cleanup proxy
This commit is contained in:
parent
d563e53948
commit
ab90a66a8e
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ async def wrapper_startup_event():
|
|||
# Make sure the fixture returns TestClient(app)
|
||||
@pytest.fixture(autouse=True)
|
||||
def client():
|
||||
from litellm.proxy.proxy_server import cleanup_router_config_variables
|
||||
cleanup_router_config_variables()
|
||||
with TestClient(app) as client:
|
||||
yield client
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue