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.

test: require nested loop continuation state

JPPhoto8eb5d076d734
diff --git a/tests/app/services/session_processor/test_for_loop_processor_sqlite.py b/tests/app/services/session_processor/test_for_loop_processor_sqlite.py
index 569f3c7746..5b38fde512 100644
--- a/tests/app/services/session_processor/test_for_loop_processor_sqlite.py
+++ b/tests/app/services/session_processor/test_for_loop_processor_sqlite.py
@@ -808,6 +808,7 @@ def test_processor_sqlite_four_level_nested_for_cancel_restart_retry_isolates_ex
completed_runtime = completed_item.session._generic_runtime()
assert not completed_runtime.gates
assert not completed_runtime.streams
+ assert completed_runtime.continuations
assert all(
continuation.frame.state_id == completed_item.session.id
and continuation.frame.frame_id not in canceled_frame_ids