Only run system datadir test on Linux

This commit is contained in:
Florian Bruhin 2017-09-20 12:20:46 +02:00
parent 2a4f10f0f5
commit 1d964ccdaf

View File

@ -324,7 +324,7 @@ class TestSystemData:
"""Test system data path."""
@pytest.mark.fake_os('linux')
@pytest.mark.linux
def test_system_datadir_exist_linux(self, monkeypatch):
"""Test that /usr/share/qute_test is used if path exists."""
monkeypatch.setattr(os.path, 'exists', lambda path: True)