Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

style: format socket event test

joshistoast0ef41fa7e252
diff --git a/tests/app/test_invocation_event_socketio.py b/tests/app/test_invocation_event_socketio.py
index 63c6b2ccba..23e2d80d8c 100644
--- a/tests/app/test_invocation_event_socketio.py
+++ b/tests/app/test_invocation_event_socketio.py
@@ -158,9 +158,7 @@ async def test_model_install_events_are_emitted_only_to_admins() -> None:
socketio = SocketIO(FastAPI())
socketio._sio.emit = AsyncMock()
- event = ModelInstallStartedEvent(
- id=1, source={"type": "url", "url": "https://example.com/model.safetensors"}
- )
+ event = ModelInstallStartedEvent(id=1, source={"type": "url", "url": "https://example.com/model.safetensors"})
await socketio._handle_model_event(("model_install_started", event))