mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-19 00:03:36 +00:00
Test bundled web dashboard asset
This commit is contained in:
+6
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user