Skip to content

armgit / peach

Public Imported from GitHub
0

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

test(tooling): 来源录制与录制脚本归 metadata 域

longmeidao7b09263bf045
diff --git a/scripts/test_runner.py b/scripts/test_runner.py
index 5d08aa6de..918ca7607 100644
--- a/scripts/test_runner.py
+++ b/scripts/test_runner.py
@@ -319,6 +319,9 @@ AUTO_SCOPE_PREFIXES: tuple[tuple[str, str | tuple[str, ...]], ...] = (
# 站点解析器契约与套了契约的站(ADR-0044):测试住在 `test_metadata_sources.py` 与
# `test_community_catalog.py`,都在 metadata 域;按包内模块名推不出来。
("src/peach/sources/", "metadata"),
+ # 来源录制回放:录制由 `test_metadata_replay.py` 回放,录制脚本也由它装载;重录不必全量。
+ ("tests/fixtures/source-replay/", "metadata"),
+ ("scripts/record_source_fixtures.py", ("metadata", "tooling")),
("scripts/localize_performer_names.py", ("metadata", "tooling")),
("scripts/localize_series_names.py", ("metadata", "tooling")),
("scripts/localize_studio_names.py", ("metadata", "tooling")),