Only run system datadir test on Linux
This commit is contained in:
parent
2a4f10f0f5
commit
1d964ccdaf
@ -324,7 +324,7 @@ class TestSystemData:
|
|||||||
|
|
||||||
"""Test system data path."""
|
"""Test system data path."""
|
||||||
|
|
||||||
@pytest.mark.fake_os('linux')
|
@pytest.mark.linux
|
||||||
def test_system_datadir_exist_linux(self, monkeypatch):
|
def test_system_datadir_exist_linux(self, monkeypatch):
|
||||||
"""Test that /usr/share/qute_test is used if path exists."""
|
"""Test that /usr/share/qute_test is used if path exists."""
|
||||||
monkeypatch.setattr(os.path, 'exists', lambda path: True)
|
monkeypatch.setattr(os.path, 'exists', lambda path: True)
|
||||||
|
Loading…
Reference in New Issue
Block a user