Added super simple test for mpd module
This commit is contained in:
parent
ea1e1694bf
commit
0574775995
1 changed files with 11 additions and 0 deletions
11
pytests/modules/contrib/test_mpd.py
Normal file
11
pytests/modules/contrib/test_mpd.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import pytest
|
||||
|
||||
import core.config
|
||||
import modules.contrib.mpd
|
||||
|
||||
@pytest.fixture
|
||||
def mpd_module():
|
||||
return modules.contrib.mpd.Module(config=core.config.Config([]), theme=None)
|
||||
|
||||
def test_shuffle_off_by_default(mpd_module):
|
||||
assert not mpd_module._shuffle
|
Loading…
Reference in a new issue