mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
cosmetic fix
This commit is contained in:
parent
bbc9c9061c
commit
a1ed05bfeb
@ -93,38 +93,32 @@ class getcodec(unittest.TestCase):
|
|||||||
|
|
||||||
class checktracks(unittest.TestCase):
|
class checktracks(unittest.TestCase):
|
||||||
def test_cktracks1(self):
|
def test_cktracks1(self):
|
||||||
assert (
|
assert _checktracks(
|
||||||
_checktracks(
|
[
|
||||||
[
|
("1:0", "", "", "Audio", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
||||||
("1:0", "", "", "Audio", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
(
|
||||||
(
|
"0:0",
|
||||||
"0:0",
|
"[0x21]",
|
||||||
"[0x21]",
|
"",
|
||||||
"",
|
"Video",
|
||||||
"Video",
|
"h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc",
|
||||||
"h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc",
|
),
|
||||||
),
|
],
|
||||||
],
|
) == ("0:0", "1:0")
|
||||||
)
|
|
||||||
== ("0:0", "1:0")
|
|
||||||
)
|
|
||||||
|
|
||||||
def test_cktracks2(self):
|
def test_cktracks2(self):
|
||||||
assert (
|
assert _checktracks(
|
||||||
_checktracks(
|
[
|
||||||
[
|
("1:0", "", "", "Substr", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
||||||
("1:0", "", "", "Substr", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
(
|
||||||
(
|
"0:0",
|
||||||
"0:0",
|
"[0x21]",
|
||||||
"[0x21]",
|
"",
|
||||||
"",
|
"Video",
|
||||||
"Video",
|
"h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc",
|
||||||
"h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc",
|
),
|
||||||
),
|
],
|
||||||
],
|
) == ("0:0", None)
|
||||||
)
|
|
||||||
== ("0:0", None)
|
|
||||||
)
|
|
||||||
|
|
||||||
def test_cktracks3(self):
|
def test_cktracks3(self):
|
||||||
assert _checktracks([("1:0", "", "", "Audio", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s")]) == (None, "1:0")
|
assert _checktracks([("1:0", "", "", "Audio", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s")]) == (None, "1:0")
|
||||||
|
Loading…
Reference in New Issue
Block a user