mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Fix lint errors
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
This commit is contained in:
parent
3846e3519d
commit
7d3fb0d7ec
1 changed files with 3 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ class WebPluginTest(_common.LibTestCase):
|
|||
for track in self.lib.items():
|
||||
track.remove()
|
||||
|
||||
# Add library elements. Note that self.lib.add overrides any "id=<n>" and assigns
|
||||
# the next free id number.
|
||||
# Add library elements. Note that self.lib.add overrides any "id=<n>"
|
||||
# and assigns the next free id number.
|
||||
# The following adds will create items #1, #2 and #3
|
||||
self.lib.add(Item(title=u'title', path='/path_1', album_id=2))
|
||||
self.lib.add(Item(title=u'another title', path='/path_2'))
|
||||
|
|
@ -174,6 +174,7 @@ class WebPluginTest(_common.LibTestCase):
|
|||
self.assertEqual(res_json['items'], 3)
|
||||
self.assertEqual(res_json['albums'], 2)
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue