Skip to content

Commit d836c51

Browse files
George-iamgeobon
andauthored
test: align intent fixtures with canonical lifecycle status (#16)
Update SDK client fixtures to use canonical lifecycle intent statuses so tests validate runtime parity without legacy primary status assumptions. Made-with: Cursor Co-authored-by: George-iam <georgeb@gmail.com>
1 parent 8653c35 commit d836c51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def handler(request: httpx.Request) -> httpx.Response:
167167
"ok": True,
168168
"intent": {
169169
"intent_id": intent_id,
170-
"status": "accepted",
170+
"status": "DELIVERED",
171171
"created_at": "2026-02-28T00:00:00Z",
172172
"intent_type": "notify.message.v1",
173173
"correlation_id": "11111111-1111-1111-1111-111111111111",
@@ -259,7 +259,7 @@ def handler(request: httpx.Request) -> httpx.Response:
259259
200,
260260
json={
261261
"ok": True,
262-
"intent": {"intent_id": intent_id, "status": "done"},
262+
"intent": {"intent_id": intent_id, "status": "COMPLETED"},
263263
"event": {"intent_id": intent_id, "seq": 3, "event_type": "intent.completed", "status": "COMPLETED"},
264264
"completion_delivery": {"delivered": False, "reason": "reply_to_not_set"},
265265
},

0 commit comments

Comments
 (0)