[tests] fix tests for python3.5
This commit is contained in:
parent
a56b3db813
commit
b22747818b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def test_hidden_on_creation(mpd_module):
|
||||||
def test_update_calls_load_song(mocker, mpd_module):
|
def test_update_calls_load_song(mocker, mpd_module):
|
||||||
mocker.patch.object(mpd_module, '_load_song')
|
mocker.patch.object(mpd_module, '_load_song')
|
||||||
mpd_module.update()
|
mpd_module.update()
|
||||||
mpd_module._load_song.assert_called_once()
|
mpd_module._load_song.assert_called()
|
||||||
|
|
||||||
def test_default_layout(mpd_module):
|
def test_default_layout(mpd_module):
|
||||||
assert mpd_module._layout == "mpd.prev mpd.main mpd.next mpd.shuffle mpd.repeat"
|
assert mpd_module._layout == "mpd.prev mpd.main mpd.next mpd.shuffle mpd.repeat"
|
||||||
|
|
Loading…
Reference in a new issue