From 23e2295c460a20f4e36b213c7a244d136bfbda3a Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 24 Mar 2015 01:37:30 +0100 Subject: [PATCH] dummy: Fix playlists.get_items() bug --- tests/dummy_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dummy_backend.py b/tests/dummy_backend.py index 9f4a0986..babaf0de 100644 --- a/tests/dummy_backend.py +++ b/tests/dummy_backend.py @@ -105,7 +105,7 @@ class DummyPlaylistsProvider(backend.PlaylistsProvider): Ref.playlist(uri=pl.uri, name=pl.name) for pl in self._playlists] def get_items(self, uri): - playlist = self._playlists.get(uri) + playlist = self.lookup(uri) if playlist is None: return return [