From abe11f58fb42b1255f62c9ac89d340c86db37bb6 Mon Sep 17 00:00:00 2001 From: Sleeps Date: Tue, 6 Oct 2026 18:33:56 +0100 Subject: [PATCH] Test bundled web dashboard asset --- tests/test_api.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_api.py b/tests/test_api.py index 6cbca4b..db90c41 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -6,7 +6,12 @@ from unittest.mock import patch from fastapi import HTTPException -from scene_search.api import require_api_key +from scene_search.api import WEB_INDEX_PATH, require_api_key + + +class WebDashboardTests(unittest.TestCase): + def test_dashboard_asset_is_bundled(self) -> None: + self.assertTrue(WEB_INDEX_PATH.is_file()) class ApiAuthTests(unittest.TestCase):