mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Linted new tests
This commit is contained in:
parent
f25e2def76
commit
aecf593ede
1 changed files with 3 additions and 3 deletions
|
|
@ -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."""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue