diff --git a/test/test_web.py b/test/test_web.py index d4f365c73..e9ca028d9 100644 --- a/test/test_web.py +++ b/test/test_web.py @@ -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=" and assigns - # the next free id number. + # Add library elements. Note that self.lib.add overrides any "id=" + # 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__)