[tests] fix tests for python3.5

This commit is contained in:
Tobias Witek 2020-06-20 15:04:10 +02:00
parent a56b3db813
commit b22747818b

View file

@ -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"