mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Remove redundant checks
Co-authored-by: Dr.Blank <64108942+Dr-Blank@users.noreply.github.com>
This commit is contained in:
parent
c64d3e3f24
commit
5793635a39
1 changed files with 3 additions and 4 deletions
|
|
@ -62,10 +62,9 @@ class BareascPluginTest(unittest.TestCase, TestHelper):
|
|||
for query, expected_titles in test_cases:
|
||||
with self.subTest(query=query, expected_titles=expected_titles):
|
||||
items = self.lib.items(query)
|
||||
titles = [item.title for item in items]
|
||||
self.assertEqual(len(items), len(expected_titles))
|
||||
self.assertEqual(titles, expected_titles)
|
||||
|
||||
self.assertListEqual(
|
||||
[item.title for item in items], expected_titles
|
||||
)
|
||||
def test_bareasc_list_output(self):
|
||||
"""Bare-ASCII version of list command - check output."""
|
||||
with capture_stdout() as output:
|
||||
|
|
|
|||
Loading…
Reference in a new issue