From d1897ca1562c390d659402d0cd7dac2f066b5f77 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 16 Jan 2024 16:53:04 -0800 Subject: [PATCH] (ci/cd) undo change from PR 1464 --- litellm/tests/test_proxy_startup.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/litellm/tests/test_proxy_startup.py b/litellm/tests/test_proxy_startup.py index 33e317ccf8b..650e2f8a7a6 100644 --- a/litellm/tests/test_proxy_startup.py +++ b/litellm/tests/test_proxy_startup.py @@ -24,14 +24,7 @@ from litellm.proxy.proxy_server import ( ) -@pytest.fixture -def cleanup_router_config(): - from litellm.proxy.proxy_server import cleanup_router_config_variables - - cleanup_router_config_variables() - - -def test_proxy_gunicorn_startup_direct_config(cleanup_router_config): +def test_proxy_gunicorn_startup_direct_config(): """ gunicorn startup requires the config to be passed in via environment variables @@ -53,7 +46,7 @@ def test_proxy_gunicorn_startup_direct_config(cleanup_router_config): pytest.fail(f"An exception occurred - {str(e)}") -def test_proxy_gunicorn_startup_config_dict(cleanup_router_config): +def test_proxy_gunicorn_startup_config_dict(): try: filepath = os.path.dirname(os.path.abspath(__file__)) # test with worker_config = config yaml