File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ direction TB
155155[*] --> CacheLookup : process(event)
156156CacheLookup: status = redis.get(event.id)
157157
158- CacheLookup --> IdempotentBranch : status in {102 Processing, 200 OK, 207 MultiStatus }
158+ CacheLookup --> IdempotentBranch : status in {102 Processing, 200 OK}
159159CacheLookup --> StartBranch : status == None
160160
161161state "Enforce idempotency" as IdempotentBranch {
Original file line number Diff line number Diff line change @@ -1170,10 +1170,10 @@ def test_api2_source_conversation_truncated(
11701170
11711171 status_code , msg = response .json ["events" ][event .id ]
11721172 # Because some deletes may fail (simulated) and some succeed, the handler
1173- # returns 200 if all succeed, or 207 (MultiStatus) if any fail .
1173+ # returns 200 if all succeed.
11741174 # The test_files fixtures never cause delete_file_object() to raise,
11751175 # so OK (200) is expected.
1176- assert status_code in ( 200 , 207 )
1176+ assert status_code == 200
11771177
11781178 # Verify item-wise results
11791179 returned_items = response .json ["items" ]
You can’t perform that action at this time.
0 commit comments