From ef440fdd70284184583d94840199fe434aff487c Mon Sep 17 00:00:00 2001 From: "duanjialing.777" Date: Mon, 21 Sep 2026 18:06:52 +0800 Subject: [PATCH] test(project-lifecycle): align settlement readback fixture Signed-off-by: duanjialing.777 --- .../cli_commands/test_project_lifecycle_goal_channel.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/cli_commands/test_project_lifecycle_goal_channel.py b/tests/cli_commands/test_project_lifecycle_goal_channel.py index c4cb9aa69a..e09e4c2921 100644 --- a/tests/cli_commands/test_project_lifecycle_goal_channel.py +++ b/tests/cli_commands/test_project_lifecycle_goal_channel.py @@ -378,7 +378,14 @@ def producer(value: Mapping[str, Any]) -> dict[str, object]: project_lifecycle_refresh_state, "read_heartbeat_settlement", lambda *args, **kwargs: SimpleNamespace( - delivery=SimpleNamespace(failure=None) + identity=SimpleNamespace(value=None), + delivery=SimpleNamespace(failure=None), + progress={ + "schema_version": "quota_settlement_progress_v0", + "state": "settled", + "next_step": None, + "quota_spend_source": "heartbeat", + }, ), ) monkeypatch.setattr(