Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

test(web): 登记 JAV 作品详情覆盖路由

longmeidao9e466f287b3c
diff --git a/tests/test_legacy_shell_routes.py b/tests/test_legacy_shell_routes.py
index a101b29e4..f318b2e57 100644
--- a/tests/test_legacy_shell_routes.py
+++ b/tests/test_legacy_shell_routes.py
@@ -25,7 +25,7 @@ FROZEN_ROUTES = frozenset({
"/performers", "/creators", "/studios", "/agencies", "/tags", "/stats", "/taste",
"/review", "/data-cleanup", "/duplicates", "/resource-sync", "/quality-goals",
"/scraping", "/follow", "/follow-manage", "/configuration", "/activity", "/immerse",
- "/diagnostics", "/jav",
+ "/diagnostics", "/jav", "/jav/movie/:code",
})
#: 路由树按模式登记的资料页,一个实体种类一条。
TREE_PATTERNS = frozenset({"/performers/*", "/studios/*", "/creators/*", "/series/*", "/agencies/*"})