mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
make test file path comparison work on windows systems
This commit is contained in:
parent
8ef596eac7
commit
6da508f147
@ -148,7 +148,7 @@ def test_background_install(installer: ModelInstallServiceBase, test_file: Path,
|
||||
assert "model_install_started" in event_names
|
||||
assert "model_install_completed" in event_names
|
||||
assert bus.events[0].payload["source"] == source.as_posix()
|
||||
assert bus.events[1].payload["source"] == source.as_posix()
|
||||
assert Path(bus.events[1].payload["source"]) == Path(source)
|
||||
key = bus.events[1].payload["key"]
|
||||
assert key is not None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user