Skip to content

armgit / peach

Public Imported from GitHub
0

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

test(sourcing): 对齐 JavDB 原题与身份输出契约

longmeidao62883f69f464
diff --git a/tests/test_community_catalog.py b/tests/test_community_catalog.py
index 73fea643b..7e27b25d9 100644
--- a/tests/test_community_catalog.py
+++ b/tests/test_community_catalog.py
@@ -253,6 +253,7 @@ class CommunityCatalogTests(unittest.TestCase):
def test_javdb_payload_equals_the_snapshot_shape_field_for_field(self):
expected = {
"id": "ABW-358", "source_url": "https://javdb.com/v/Zb7mX", "title": TITLE,
+ "origin_title": "", "display_title": TITLE, "source_id": "Zb7mX", "javdb_rule": 2,
"actresses": [{"japanese_name": "涼森れむ", "profile_source": "javdb", "external_id": "a"}],
"maker": "プレステージ", "label": "", "series": "", "director": "", "release_date": "2023-05-23",
"runtime": 210, "genres": [], "cover_urls": [JAVDB_COVER], "cover_url": JAVDB_COVER}