diff --git a/tests/unit/proxy/mcp_server/test_mcp_discovery.py b/tests/unit/proxy/mcp_server/test_mcp_discovery.py index 35fc7440f99..d7d11561838 100644 --- a/tests/unit/proxy/mcp_server/test_mcp_discovery.py +++ b/tests/unit/proxy/mcp_server/test_mcp_discovery.py @@ -116,7 +116,7 @@ class TestMCPRegistryFile: proxy_dir: Final = os.path.dirname(registry_path) built_logos_dir: Final = os.path.join(proxy_dir, "_experimental", "out", "assets", "logos") source_logos_dir: Final = os.path.join( - proxy_dir, "..", "..", "ui", "litellm-dashboard", "public", "assets", "logos" + proxy_dir, "..", "ui", "litellm-dashboard", "public", "assets", "logos" ) bundled: Final = [s for s in data["servers"] if s.get("icon_url", "").startswith("/ui/assets/logos/")] assert bundled, "at least one registry entry ships its own icon" diff --git a/tests/unit/proxy/test_pointfive_dashboard_config.py b/tests/unit/proxy/test_pointfive_dashboard_config.py index 9e46e7f0b3e..7988f11f42f 100644 --- a/tests/unit/proxy/test_pointfive_dashboard_config.py +++ b/tests/unit/proxy/test_pointfive_dashboard_config.py @@ -29,7 +29,7 @@ def test_the_dropdown_logo_asset_exists(): """A logo the dashboard cannot resolve degrades silently to a letter tile.""" logo = _pointfive_config()["logo"] repo_root = Path(litellm.__file__).parent.parent - asset = repo_root / "ui" / "litellm-dashboard" / "public" / "assets" / "logos" / logo + asset = repo_root / "litellm" / "ui" / "litellm-dashboard" / "public" / "assets" / "logos" / logo assert logo == "pointfive.png" assert asset.is_file() diff --git a/tests/unit/proxy/test_zerobus_dashboard_config.py b/tests/unit/proxy/test_zerobus_dashboard_config.py index d2143767480..fbcbf88772a 100644 --- a/tests/unit/proxy/test_zerobus_dashboard_config.py +++ b/tests/unit/proxy/test_zerobus_dashboard_config.py @@ -40,7 +40,7 @@ def test_the_dropdown_logo_asset_exists(): """A logo the dashboard cannot resolve degrades silently to a letter tile.""" logo = _zerobus_config().logo repo_root = Path(litellm.__file__).parent.parent - asset = repo_root / "ui" / "litellm-dashboard" / "public" / "assets" / "logos" / logo + asset = repo_root / "litellm" / "ui" / "litellm-dashboard" / "public" / "assets" / "logos" / logo assert asset.is_file()