From 4158bdb95eeeb3e2130d82f31533d6bfbec0863c Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Sat, 6 Apr 2019 15:31:03 +1100 Subject: [PATCH] mpdstats: update tests for currentsong --- test/test_mpdstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_mpdstats.py b/test/test_mpdstats.py index 7452be86b..0117e22aa 100644 --- a/test/test_mpdstats.py +++ b/test/test_mpdstats.py @@ -65,7 +65,7 @@ class MPDStatsTest(unittest.TestCase, TestHelper): @patch("beetsplug.mpdstats.MPDClientWrapper", return_value=Mock(**{ "events.side_effect": EVENTS, "status.side_effect": STATUSES, - "playlist.return_value": {1: item_path}})) + "currentsong.return_value": item_path})) def test_run_mpdstats(self, mpd_mock): item = Item(title=u'title', path=self.item_path, id=1) item.add(self.lib)