Skip to content

Commit e64ca86

Browse files
Update test_preflight.py
1 parent 2d17785 commit e64ca86

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_preflight.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_preflight_network_mismatch_returns_block(client, api_headers, app_modul
5353

5454
assert response.status_code == 200
5555
assert body['reason_code'] == 'NETWORK_MISMATCH'
56-
assert body['verdict'] == 'BLOCK'
56+
assert body['verdict'] == 'DO_NOT_SEND'
5757
assert body['next_action'] == 'BLOCK_AND_REVERIFY'
5858
assert 'NETWORK_MISMATCH' in body['risk_flags']
5959

@@ -78,7 +78,7 @@ def test_preflight_zero_address_returns_do_not_send(client, api_headers, app_mod
7878

7979
assert response.status_code == 200
8080
assert body['reason_code'] == 'ZERO_ADDRESS'
81-
assert body['verdict'] == 'BLOCK'
81+
assert body['verdict'] == 'DO_NOT_SEND'
8282
assert body['next_action'] == 'DO_NOT_SEND'
8383
assert 'ZERO_ADDRESS' in body['risk_flags']
8484

@@ -103,7 +103,7 @@ def test_preflight_unsupported_network_is_blocked(client, api_headers, app_modul
103103

104104
assert response.status_code == 200
105105
assert body['reason_code'] == 'UNSUPPORTED_NETWORK'
106-
assert body['verdict'] == 'BLOCK'
106+
assert body['verdict'] == 'DO_NOT_SEND'
107107
assert body['next_action'] == 'BLOCK_AND_REVERIFY'
108108
assert body['supported_scope']['provided_network_supported'] is False
109109

@@ -129,7 +129,7 @@ def test_preflight_missing_memo_stays_blocked(client, api_headers, app_module, m
129129

130130
assert response.status_code == 200
131131
assert body['reason_code'] == 'MEMO_MISMATCH'
132-
assert body['verdict'] == 'BLOCK'
132+
assert body['verdict'] == 'DO_NOT_SEND'
133133
assert body['checks']['memo_match'] is False
134134
assert 'MEMO_MISMATCH' in body['risk_flags']
135135

@@ -157,7 +157,7 @@ def test_preflight_payout_strict_blocks_contract_route(client, api_headers, app_
157157
assert response.status_code == 200
158158
assert body['policy_profile'] == 'payout_strict'
159159
assert body['reason_code'] == 'DESTINATION_IS_CONTRACT_OR_APP'
160-
assert body['verdict'] == 'BLOCK'
160+
assert body['verdict'] == 'DO_NOT_SEND'
161161
assert body['next_action'] == 'BLOCK_AND_REVERIFY'
162162

163163

@@ -211,5 +211,5 @@ def test_preflight_treasury_review_blocks_bridge_route(client, api_headers, app_
211211
assert response.status_code == 200
212212
assert body['policy_profile'] == 'treasury_review'
213213
assert body['reason_code'] == 'DESTINATION_IS_BRIDGE_ROUTER'
214-
assert body['verdict'] == 'BLOCK'
214+
assert body['verdict'] == 'DO_NOT_SEND'
215215
assert body['next_action'] == 'BLOCK_AND_REVERIFY'

0 commit comments

Comments
 (0)