diff --git a/litellm/tests/test_proxy_server.py b/litellm/tests/test_proxy_server.py index 4a10ecbf8..a525f01bf 100644 --- a/litellm/tests/test_proxy_server.py +++ b/litellm/tests/test_proxy_server.py @@ -173,17 +173,18 @@ def test_load_router_config(): try: print("testing reading config") # this is a basic config.yaml with only a model - result = load_router_config(router=None, config_file_path="example_config_yaml/simple_config.yaml") + filepath = os.path.dirname(os.path.abspath(__file__)) + result = load_router_config(router=None, config_file_path=f"{filepath}/example_config_yaml/simple_config.yaml") print(result) assert len(result[1]) == 1 # this is a load balancing config yaml - result = load_router_config(router=None, config_file_path="example_config_yaml/azure_config.yaml") + result = load_router_config(router=None, config_file_path=f"{filepath}/example_config_yaml/azure_config.yaml") print(result) assert len(result[1]) == 2 # config with general settings - custom callbacks - result = load_router_config(router=None, config_file_path="example_config_yaml/azure_config.yaml") + result = load_router_config(router=None, config_file_path=f"{filepath}/example_config_yaml/azure_config.yaml") print(result) assert len(result[1]) == 2