tests: fix test on macos

This commit is contained in:
psychedelicious 2024-03-12 09:28:46 +11:00
parent d09f03ef25
commit 5ecfa86cd0

View File

@ -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():