From e9bd55caacdab036f2c02d6428d004e9888d8c45 Mon Sep 17 00:00:00 2001 From: dr-dimitri <87113560+dr-dimitri@users.noreply.github.com> Date: Sun, 6 Sep 2026 22:10:33 +0200 Subject: [PATCH] fix: normalize expected configuration paths on macOS (#1282) Co-authored-by: Normann --- tests/test_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index da08c1c6..25dc8b45 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -167,7 +167,8 @@ def test_get_config_file_path(user_config_dir_patch, config_eos, config_default_ user_config_dir_patch.return_value = str(config_default_dir_user) def cfg_file(dir: Path) -> Path: - return dir.joinpath(ConfigEOS.CONFIG_FILE_NAME) + # Match production directory normalization, including macOS /var aliases. + return dir.resolve().joinpath(ConfigEOS.CONFIG_FILE_NAME) # Config newly created from fixture with fresh user config directory assert config_eos._get_config_file_path() == (cfg_file(config_default_dir_user), True)