From c572a1b60762b021606f23fe0c2a2d86adf36a8e Mon Sep 17 00:00:00 2001 From: Attente <19653207+wikrin@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:13:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(tests):=20=E4=BF=AE=E6=AD=A3=20restype,=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cases/meta.py | 14 +++++++------- tests/test_metainfo.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/cases/meta.py b/tests/cases/meta.py index e28f80fc..79ef9cb0 100644 --- a/tests/cases/meta.py +++ b/tests/cases/meta.py @@ -153,7 +153,7 @@ meta_cases = [{ "part": "", "season": "S01", "episode": "E02", - "restype": "B-Global WEB-DL", + "restype": "WEB-DL", "pix": "1080p", "video_codec": "x264", "audio_codec": "AAC" @@ -569,7 +569,7 @@ meta_cases = [{ "part": "", "season": "S02", "episode": "E05", - "restype": "Crunchyroll WEB-DL", + "restype": "WEB-DL", "pix": "1080p", "video_codec": "x264", "audio_codec": "AAC" @@ -649,7 +649,7 @@ meta_cases = [{ "part": "", "season": "", "episode": "", - "restype": "Netflix WEBRip", + "restype": "WEBRip", "pix": "1080p", "video_codec": "H264", "audio_codec": "DDP 5.1" @@ -681,7 +681,7 @@ meta_cases = [{ "part": "", "season": "S01", "episode": "E16", - "restype": "KKTV WEB-DL", + "restype": "WEB-DL", "pix": "1080p", "video_codec": "x264", "audio_codec": "AAC" @@ -921,7 +921,7 @@ meta_cases = [{ "part": "", "season": "S06", "episode": "E06", - "restype": "Max WEBRip", + "restype": "WEBRip", "pix": "1080p", "video_codec": "x264", "audio_codec": "DD 5.1" @@ -937,7 +937,7 @@ meta_cases = [{ "part": "", "season": "S06", "episode": "E05", - "restype": "Max WEBRip", + "restype": "WEBRip", "pix": "1080p", "video_codec": "x264", "audio_codec": "DD 5.1" @@ -969,7 +969,7 @@ meta_cases = [{ "part": "", "season": "S02", "episode": "", - "restype": "Netflix WEB-DL", + "restype": "WEB-DL", "pix": "2160p", "video_codec": "H265", "audio_codec": "DDP 5.1 Atmos" diff --git a/tests/test_metainfo.py b/tests/test_metainfo.py index 9e941066..6253053b 100644 --- a/tests/test_metainfo.py +++ b/tests/test_metainfo.py @@ -18,7 +18,7 @@ class MetaInfoTest(TestCase): if info.get("path"): meta_info = MetaInfoPath(path=Path(info.get("path"))) else: - meta_info = MetaInfo(title=info.get("title"), subtitle=info.get("subtitle")) + meta_info = MetaInfo(title=info.get("title"), subtitle=info.get("subtitle"), custom_words=["#"]) target = { "type": meta_info.type.value, "cn_name": meta_info.cn_name or "",