From 1645b04ce1804797483f54b1c96e4019789a1031 Mon Sep 17 00:00:00 2001 From: Vishal Bulbule Date: Sun, 20 Sep 2026 00:17:41 +0530 Subject: [PATCH] test(a2a): cover input_required and auth_required as non-terminal states The skip_summarization tests for converted A2A tasks checked only submitted and working as non-terminal states. Add input_required and auth_required, which pause a task for the user and must not mark the converted event as a final response. --- tests/unittests/a2a/converters/test_event_converter.py | 2 ++ tests/unittests/a2a/converters/test_to_adk.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/unittests/a2a/converters/test_event_converter.py b/tests/unittests/a2a/converters/test_event_converter.py index 73f6c19729..1beae01ffc 100644 --- a/tests/unittests/a2a/converters/test_event_converter.py +++ b/tests/unittests/a2a/converters/test_event_converter.py @@ -919,6 +919,8 @@ def test_convert_a2a_task_to_event_terminal_state_sets_skip_summarization( [ _compat.TS_SUBMITTED, _compat.TS_WORKING, + _compat.TS_INPUT_REQUIRED, + _compat.TS_AUTH_REQUIRED, ], ) def test_convert_a2a_task_to_event_non_terminal_state_does_not_set_skip_summarization( diff --git a/tests/unittests/a2a/converters/test_to_adk.py b/tests/unittests/a2a/converters/test_to_adk.py index b4614f5181..052271fbfe 100644 --- a/tests/unittests/a2a/converters/test_to_adk.py +++ b/tests/unittests/a2a/converters/test_to_adk.py @@ -294,6 +294,8 @@ def test_convert_a2a_task_to_event_terminal_state_sets_skip_summarization( [ _compat.TS_SUBMITTED, _compat.TS_WORKING, + _compat.TS_INPUT_REQUIRED, + _compat.TS_AUTH_REQUIRED, ], ) def test_convert_a2a_task_to_event_non_terminal_state_does_not_set_skip_summarization(