mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
Merge pull request #5112 from wikrin/fix_tests
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 "",
|
||||
|
||||
Reference in New Issue
Block a user