(ci/cd) test fixture

This commit is contained in:
ishaan-jaff 2024-01-05 22:15:08 +05:30
parent d9fd38ae16
commit 050c289ed1

View file

@ -63,7 +63,7 @@ async def wrapper_startup_event():
# Here you create a fixture that will be used by your tests
# Make sure the fixture returns TestClient(app)
@pytest.fixture(autouse=True)
@pytest.fixture(scope="function")
def client():
from litellm.proxy.proxy_server import cleanup_router_config_variables, initialize