mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-14 13:48:04 -05:00
tests: fix test on macos
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user