From 5ecfa86cd0f469e187d43eddb8111161e899e50d Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 12 Mar 2024 09:28:46 +1100 Subject: [PATCH] tests: fix test on macos --- tests/test_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index c3af94057d..38a9413604 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -137,8 +137,8 @@ def test_set_and_resolve_paths(): with TemporaryDirectory() as tmpdir: config = InvokeAIAppConfig() config.set_root(Path(tmpdir)) - assert config.models_path == Path(tmpdir) / "models" - assert config.db_path == Path(tmpdir) / "databases" / "invokeai.db" + assert config.models_path == Path(tmpdir).resolve() / "models" + assert config.db_path == Path(tmpdir).resolve() / "databases" / "invokeai.db" def test_singleton_behavior():