From 9cf93631211ee888e88ceab6a6f2745f4984a3aa Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 27 Apr 2020 23:58:51 +0200 Subject: tests: Fixup for standarddir changes --- tests/unit/utils/test_standarddir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit/utils/test_standarddir.py b/tests/unit/utils/test_standarddir.py index 6ad766f9e..3ad074c0f 100644 --- a/tests/unit/utils/test_standarddir.py +++ b/tests/unit/utils/test_standarddir.py @@ -195,7 +195,7 @@ class TestStandardDir: monkeypatch.setenv('XDG_RUNTIME_DIR', str(tmpdir / 'does-not-exist')) monkeypatch.setenv('TMPDIR', str(tmpdir_env)) - standarddir._init_dirs() + standarddir._init_runtime(args=None) assert standarddir.runtime() == str(tmpdir_env / APPNAME) @pytest.mark.fake_os('windows') -- cgit v1.2.3-54-g00ecf