mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00: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:
|
with TemporaryDirectory() as tmpdir:
|
||||||
config = InvokeAIAppConfig()
|
config = InvokeAIAppConfig()
|
||||||
config.set_root(Path(tmpdir))
|
config.set_root(Path(tmpdir))
|
||||||
assert config.models_path == Path(tmpdir) / "models"
|
assert config.models_path == Path(tmpdir).resolve() / "models"
|
||||||
assert config.db_path == Path(tmpdir) / "databases" / "invokeai.db"
|
assert config.db_path == Path(tmpdir).resolve() / "databases" / "invokeai.db"
|
||||||
|
|
||||||
|
|
||||||
def test_singleton_behavior():
|
def test_singleton_behavior():
|
||||||
|
Reference in New Issue
Block a user