Skip to content

Commit 8dff6b6

Browse files
Duang777huangruiteng
authored andcommitted
test(control-plane): read canonical todo list result
Signed-off-by: Duang777 <duangjl007@gmail.com>
1 parent 3fb2206 commit 8dff6b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/control_plane/test_todo_projection_recovery.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,5 +446,5 @@ def test_objective_display_never_changes_canonical_authority(canonical_display,
446446
assert _read(runtime) == before
447447
state.write_text("<!-- unreadable display")
448448
code, result = _cli(registry, "list", "--goal-id", "goal-a")
449-
assert code == 0 and result["agent_todos"]["items"][0]["todo_id"] == "todo_active", result
449+
assert code == 0 and result["todos"][0]["todo_id"] == "todo_active", result
450450
assert _read(runtime) == before

0 commit comments

Comments
 (0)