mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Replace assertListEqual
This commit is contained in:
parent
fdb8c28271
commit
fcc4d8481d
1 changed files with 1 additions and 3 deletions
|
|
@ -62,9 +62,7 @@ class BareascPluginTest(PluginTestCase):
|
||||||
for query, expected_titles in test_cases:
|
for query, expected_titles in test_cases:
|
||||||
with self.subTest(query=query, expected_titles=expected_titles):
|
with self.subTest(query=query, expected_titles=expected_titles):
|
||||||
items = self.lib.items(query)
|
items = self.lib.items(query)
|
||||||
self.assertListEqual(
|
assert [item.title for item in items] == expected_titles
|
||||||
[item.title for item in items], expected_titles
|
|
||||||
)
|
|
||||||
|
|
||||||
def test_bareasc_list_output(self):
|
def test_bareasc_list_output(self):
|
||||||
"""Bare-ASCII version of list command - check output."""
|
"""Bare-ASCII version of list command - check output."""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue