Added super simple test for mpd module

This commit is contained in:
Ambika Nair 2020-06-19 04:13:52 -04:00
parent ea1e1694bf
commit 0574775995

View 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