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 "",