From 05677176d3ad927488acc4d3c6897f2e12cd7d91 Mon Sep 17 00:00:00 2001 From: George-iam Date: Mon, 2 Mar 2026 08:45:55 +0000 Subject: [PATCH] test: align intent fixtures with canonical lifecycle status Update SDK client fixtures to use canonical lifecycle intent statuses so tests validate runtime parity without legacy primary status assumptions. Made-with: Cursor --- tests/test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index a68d138..3f59aad 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -167,7 +167,7 @@ def handler(request: httpx.Request) -> httpx.Response: "ok": True, "intent": { "intent_id": intent_id, - "status": "accepted", + "status": "DELIVERED", "created_at": "2026-02-28T00:00:00Z", "intent_type": "notify.message.v1", "correlation_id": "11111111-1111-1111-1111-111111111111", @@ -259,7 +259,7 @@ def handler(request: httpx.Request) -> httpx.Response: 200, json={ "ok": True, - "intent": {"intent_id": intent_id, "status": "done"}, + "intent": {"intent_id": intent_id, "status": "COMPLETED"}, "event": {"intent_id": intent_id, "seq": 3, "event_type": "intent.completed", "status": "COMPLETED"}, "completion_delivery": {"delivered": False, "reason": "reply_to_not_set"}, },