From b22747818b3023abdce08791374736a665a8c7a0 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 20 Jun 2020 15:04:10 +0200 Subject: [PATCH] [tests] fix tests for python3.5 --- tests/modules/contrib/test_mpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/contrib/test_mpd.py b/tests/modules/contrib/test_mpd.py index ba06248..54dd10a 100644 --- a/tests/modules/contrib/test_mpd.py +++ b/tests/modules/contrib/test_mpd.py @@ -42,7 +42,7 @@ def test_hidden_on_creation(mpd_module): def test_update_calls_load_song(mocker, mpd_module): mocker.patch.object(mpd_module, '_load_song') mpd_module.update() - mpd_module._load_song.assert_called_once() + mpd_module._load_song.assert_called() def test_default_layout(mpd_module): assert mpd_module._layout == "mpd.prev mpd.main mpd.next mpd.shuffle mpd.repeat"