From a9a49c6846e89ee7dbcd81fac8060afd86393db4 Mon Sep 17 00:00:00 2001 From: Peter Kessen Date: Thu, 17 Sep 2015 13:08:34 +0200 Subject: [PATCH] again ignoring unused return values --- test/test_ui_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_ui_commands.py b/test/test_ui_commands.py index 78fb08833..ec7f883fb 100644 --- a/test/test_ui_commands.py +++ b/test/test_ui_commands.py @@ -71,7 +71,7 @@ class QueryTest(_common.TestCase): def test_query_album(self): item, itempath = self.add_item() - album = self.add_album([item]) + self.add_album([item]) items, albums = commands._do_query(self.lib, (), True) self.assertEqual(len(items), 1) self.assertEqual(len(albums), 1) @@ -82,7 +82,7 @@ class QueryTest(_common.TestCase): item, itempath = self.add_item() item2, itempath = self.add_item() - self.album = self.add_album([item, item2]) + self.add_album([item, item2]) items, albums = commands._do_query(self.lib, (), True) self.assertEqual(len(items), 3) self.assertEqual(len(albums), 2)