diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-07-02 18:04:28 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-07-02 18:04:28 +0300 |
| commit | 802acc5b01d4d53284f6fb480f8922b8ee7d934c (patch) | |
| tree | f37345ccd0c6b96032b06a1c8c4e3224e4a4c3d3 /tests | |
| parent | 3f39b8f9fe3ce446203f8bd60e3d876290c10729 (diff) | |
| download | fungus-launcher-802acc5b01d4d53284f6fb480f8922b8ee7d934c.tar.gz fungus-launcher-802acc5b01d4d53284f6fb480f8922b8ee7d934c.tar.xz | |
try clearing test env
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_path_manager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_path_manager.py b/tests/test_path_manager.py index bebdba7..1069b09 100644 --- a/tests/test_path_manager.py +++ b/tests/test_path_manager.py @@ -67,6 +67,7 @@ class TestSystemData: with patch.dict( os.environ, {"XDG_DATA_DIRS": "/nonexistent1:/nonexistent2:/usr/share"}, + clear=True, ): result = PathManager.system_data("icons") assert result == "/usr/share/icons" @@ -76,6 +77,7 @@ class TestSystemData: with patch.dict( os.environ, {"XDG_DATA_DIRS": "/usr/share:/usr/local/share"}, + clear=True, ): result = PathManager.system_data("applications") # /usr/share/applications should exist |
