From f46cc7d131eeba3f405252bd89b1f38e690c17a0 Mon Sep 17 00:00:00 2001 From: Peter Kessen Date: Thu, 17 Sep 2015 13:05:25 +0200 Subject: [PATCH] ignoring unused return values --- test/test_ui_commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_ui_commands.py b/test/test_ui_commands.py index ff0aa96a5..78fb08833 100644 --- a/test/test_ui_commands.py +++ b/test/test_ui_commands.py @@ -52,19 +52,19 @@ class QueryTest(_common.TestCase): def test_query_empty(self): with self.assertRaises(ui.UserError): - items, albums = commands._do_query(self.lib, (), False) + commands._do_query(self.lib, (), False) def test_query_empty_album(self): with self.assertRaises(ui.UserError): - items, albums = commands._do_query(self.lib, (), True) + commands._do_query(self.lib, (), True) def test_query_item(self): - item, itempath = self.add_item() + self.add_item() items, albums = commands._do_query(self.lib, (), False) self.assertEqual(len(albums), 0) self.assertEqual(len(items), 1) - item, itempath = self.add_item() + self.add_item() items, albums = commands._do_query(self.lib, (), False) self.assertEqual(len(albums), 0) self.assertEqual(len(items), 2)