$ MODE=off python -W ignore -m unittest -v test_gate # 2026-11-29 Python 3.14.4 test_1_injected_refund_is_held_and_shows_real_arguments (test_gate.T.test_1_injected_refund_is_held_and_shows_real_arguments) ... FAIL test_2_approved_call_runs_with_the_stored_arguments_and_is_logged (test_gate.T.test_2_approved_call_runs_with_the_stored_arguments_and_is_logged) ... FAIL test_3_the_agent_cannot_approve_its_own_request (test_gate.T.test_3_the_agent_cannot_approve_its_own_request) ... FAIL test_4_unanswered_request_times_out_to_deny (test_gate.T.test_4_unanswered_request_times_out_to_deny) ... FAIL test_5_deny_listed_tool_never_runs (test_gate.T.test_5_deny_listed_tool_never_runs) ... FAIL test_6_200_requests_in_10_minutes_hit_the_cap (test_gate.T.test_6_200_requests_in_10_minutes_hit_the_cap) ... FAIL ====================================================================== FAIL: test_1_injected_refund_is_held_and_shows_real_arguments (test_gate.T.test_1_injected_refund_is_held_and_shows_real_arguments) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: Lists differ: [('refund', 5000, 'ACCT-NEW-9931')] != [] First list contains 1 additional elements. First extra element 0: ('refund', 5000, 'ACCT-NEW-9931') - [('refund', 5000, 'ACCT-NEW-9931')] + [] : refund ran before any approval ====================================================================== FAIL: test_2_approved_call_runs_with_the_stored_arguments_and_is_logged (test_gate.T.test_2_approved_call_runs_with_the_stored_arguments_and_is_logged) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: [] is not true ====================================================================== FAIL: test_3_the_agent_cannot_approve_its_own_request (test_gate.T.test_3_the_agent_cannot_approve_its_own_request) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: [] is not true ====================================================================== FAIL: test_4_unanswered_request_times_out_to_deny (test_gate.T.test_4_unanswered_request_times_out_to_deny) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: Denied not raised ====================================================================== FAIL: test_5_deny_listed_tool_never_runs (test_gate.T.test_5_deny_listed_tool_never_runs) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: Denied not raised ====================================================================== FAIL: test_6_200_requests_in_10_minutes_hit_the_cap (test_gate.T.test_6_200_requests_in_10_minutes_hit_the_cap) ---------------------------------------------------------------------- Traceback (most recent call last): AssertionError: 0 != 20 ---------------------------------------------------------------------- Ran 6 tests in 10.708s FAILED (failures=6) # requests reaching an approver: 0, dropped by the cap: 0