diff --git a/src/borg/testsuite/helpers.py b/src/borg/testsuite/helpers.py index 4293d421ded..b92a3584384 100644 --- a/src/borg/testsuite/helpers.py +++ b/src/borg/testsuite/helpers.py @@ -639,12 +639,12 @@ def test_get_config_dir_compat(monkeypatch): if not is_darwin and not is_win32: monkeypatch.delenv("BORG_CONFIG_DIR", raising=False) monkeypatch.delenv("XDG_CONFIG_HOME", raising=False) - # fails on macOS: assert '/Users/tw/Library/Preferences/borg' == '/Users/tw/.config/borg' + # fails on macOS: assert '/Users/tw/Library/Application Support/borg' == '/Users/tw/.config/borg' # fails on win32 MSYS2 (but we do not need legacy compat there). assert get_config_dir(legacy=False) == get_config_dir(legacy=True) if not is_darwin and not is_win32: monkeypatch.setenv("XDG_CONFIG_HOME", "/var/tmp/.config1") - # fails on macOS: assert '/Users/tw/Library/Preferences/borg' == '/var/tmp/.config1/borg' + # fails on macOS: assert '/Users/tw/Library/Application Support/borg' == '/var/tmp/.config1/borg' # fails on win32 MSYS2 (but we do not need legacy compat there). assert get_config_dir(legacy=False) == get_config_dir(legacy=True) monkeypatch.setenv("BORG_CONFIG_DIR", "/var/tmp/.config2")