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,8 +93,7 @@ class getcodec(unittest.TestCase):
|
||||
|
||||
class checktracks(unittest.TestCase):
|
||||
def test_cktracks1(self):
|
||||
assert (
|
||||
_checktracks(
|
||||
assert _checktracks(
|
||||
[
|
||||
("1:0", "", "", "Audio", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
||||
(
|
||||
@ -105,13 +104,10 @@ class checktracks(unittest.TestCase):
|
||||
"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):
|
||||
assert (
|
||||
_checktracks(
|
||||
assert _checktracks(
|
||||
[
|
||||
("1:0", "", "", "Substr", "aac (LC), 48000 Hz, stereo, fltp, 126 kb/s"),
|
||||
(
|
||||
@ -122,9 +118,7 @@ class checktracks(unittest.TestCase):
|
||||
"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):
|
||||
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