The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): drop the redundant notify clause on the card metadata assert
kshitijk4poor07797d0a8e6d
diff --git a/tests/gateway/test_exec_approval_timeout_notice.py b/tests/gateway/test_exec_approval_timeout_notice.pyindex 7e3353dfb4b..afea7224d8d 100644--- a/tests/gateway/test_exec_approval_timeout_notice.py+++ b/tests/gateway/test_exec_approval_timeout_notice.py@@ -104,7 +104,7 @@ def test_timeout_edits_the_card_to_say_the_command_did_not_run(pending_entry, tmassert "NOT run" in content and "5 minutes" in contentassert adapter.sends == [], "an editable card needs no extra message"# ``notify`` is A2A's turn-final marker; an approval card must not carry it (#132516).- assert adapter.card_metadata == [{"thread_id": "t1"}] and "notify" not in adapter.card_metadata[0]+ assert adapter.card_metadata == [{"thread_id": "t1"}] # no notify: A2A's turn-final marker@pytest.mark.parametrize("text_fallback", [False, True])