Linted new tests

This commit is contained in:
Guy Bloom 2025-12-01 18:04:42 -05:00
parent f25e2def76
commit aecf593ede

View file

@ -235,6 +235,7 @@ class ConvertCliTest(ConvertTestCase, ConvertCommand):
assert not self.file_endswith(
self.convert_dest / "converted.ogg", "ogg"
)
def test_force_overrides_max_bitrate_and_same_formats(self):
self.config["convert"]["max_bitrate"] = 5000
self.config["convert"]["format"] = "ogg"
@ -260,7 +261,6 @@ class ConvertCliTest(ConvertTestCase, ConvertCommand):
self.convert_dest / "converted.ogg", "ogg"
)
def test_playlist(self):
with control_stdin("y"):
self.run_convert("--playlist", "playlist.m3u8")
@ -323,6 +323,7 @@ class NeverConvertLossyFilesTest(ConvertTestCase, ConvertCommand):
converted = self.convert_dest / "converted.ops"
assert self.file_endswith(converted, "opus")
def test_force_overrides_no_convert(self):
self.config["convert"]["formats"]["opus"] = {
"command": self.tagged_copy_cmd("opus"),
@ -339,7 +340,6 @@ class NeverConvertLossyFilesTest(ConvertTestCase, ConvertCommand):
assert self.file_endswith(converted, "opus")
class TestNoConvert:
"""Test the effect of the `no_convert` option."""