mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
mpdstats: update tests for currentsong
This commit is contained in:
parent
ce5981b885
commit
4158bdb95e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue