From 27a63b16888177a3747ffd5ba3bae12ba1d98ed8 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 19 Oct 2013 22:17:04 +0200 Subject: [PATCH] local: Remove redundant test asserts --- tests/backends/local/library_test.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/backends/local/library_test.py b/tests/backends/local/library_test.py index c0843dd5..6b0cd6f6 100644 --- a/tests/backends/local/library_test.py +++ b/tests/backends/local/library_test.py @@ -160,8 +160,6 @@ class LocalLibraryProviderTest(unittest.TestCase): # Matches on URI result = self.library.find_exact(any=['local:track:path1']) self.assertEqual(list(result[0].tracks), self.tracks[:1]) - result = self.library.find_exact(any=['local:track:path1']) - self.assertEqual(list(result[0].tracks), self.tracks[:1]) def test_find_exact_wrong_type(self): test = lambda: self.library.find_exact(wrong=['test']) @@ -267,8 +265,6 @@ class LocalLibraryProviderTest(unittest.TestCase): # Matches on URI result = self.library.search(any=['TH1']) self.assertEqual(list(result[0].tracks), self.tracks[:1]) - result = self.library.search(any=['TH1']) - self.assertEqual(list(result[0].tracks), self.tracks[:1]) def test_search_wrong_type(self): test = lambda: self.library.search(wrong=['test'])