mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-07 03:17:05 +08:00
tests: fix test_model_install.py
This commit is contained in:
parent
40e4dbe1fb
commit
868e06eb8b
@ -157,8 +157,8 @@ def test_background_install(
|
||||
assert len(bus.events) == 2
|
||||
assert isinstance(bus.events[0], ModelInstallStartedEvent)
|
||||
assert isinstance(bus.events[1], ModelInstallCompleteEvent)
|
||||
assert Path(bus.events[0].source) == source
|
||||
assert Path(bus.events[1].source) == source
|
||||
assert Path(bus.events[0].source.path) == source
|
||||
assert Path(bus.events[1].source.path) == source
|
||||
key = bus.events[1].key
|
||||
assert key is not None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user