Only run test_flatpak_runtimedir on Linux

Paths are different on macOS/Windows

(cherry picked from commit 069743e98d)
This commit is contained in:
Florian Bruhin 2021-03-18 12:31:05 +01:00
parent 3f079ef037
commit ccae0452c5
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ class TestStandardDir:
standarddir._init_runtime(args=None)
assert standarddir.runtime() == str(tmpdir_env / APPNAME)
@pytest.mark.linux
def test_flatpak_runtimedir(self, monkeypatch, tmp_path):
runtime_path = tmp_path / 'runtime'
runtime_path.mkdir()