From 3ca10d816ca51cc886fe910a44fc976aa9d8c3cd Mon Sep 17 00:00:00 2001 From: Patrick Gray Date: Fri, 17 Oct 2025 14:53:38 -0400 Subject: [PATCH] integ tests - interrupts - remove asyncio marker --- tests_integ/interrupts/test_hook.py | 2 -- tests_integ/interrupts/test_session.py | 1 - tests_integ/interrupts/test_tool.py | 1 - 3 files changed, 4 deletions(-) diff --git a/tests_integ/interrupts/test_hook.py b/tests_integ/interrupts/test_hook.py index 836d7d415..f4341ac76 100644 --- a/tests_integ/interrupts/test_hook.py +++ b/tests_integ/interrupts/test_hook.py @@ -48,7 +48,6 @@ def agent(interrupt_hook, time_tool, weather_tool): return Agent(hooks=[interrupt_hook], tools=[time_tool, weather_tool]) -@pytest.mark.asyncio def test_interrupt(agent): result = agent("What is the time and weather?") @@ -112,7 +111,6 @@ def test_interrupt(agent): assert tru_tool_result_message == exp_tool_result_message -@pytest.mark.asyncio def test_interrupt_reject(agent): result = agent("What is the time and weather?") diff --git a/tests_integ/interrupts/test_session.py b/tests_integ/interrupts/test_session.py index 83d2cc73d..714363fd8 100644 --- a/tests_integ/interrupts/test_session.py +++ b/tests_integ/interrupts/test_session.py @@ -47,7 +47,6 @@ def agent(interrupt_hook, time_tool, weather_tool): return Agent(hooks=[interrupt_hook], tools=[time_tool, weather_tool]) -@pytest.mark.asyncio def test_interrupt_session(interrupt_hook, time_tool, weather_tool, tmpdir): session_manager = FileSessionManager(session_id="strands-interrupt-test", storage_dir=tmpdir) agent = Agent(hooks=[interrupt_hook], session_manager=session_manager, tools=[time_tool, weather_tool]) diff --git a/tests_integ/interrupts/test_tool.py b/tests_integ/interrupts/test_tool.py index 00dbfcc90..e200f50a6 100644 --- a/tests_integ/interrupts/test_tool.py +++ b/tests_integ/interrupts/test_tool.py @@ -58,7 +58,6 @@ def agent(interrupt_hook, time_tool, day_tool, weather_tool): return Agent(hooks=[interrupt_hook], tools=[time_tool, day_tool, weather_tool]) -@pytest.mark.asyncio def test_interrupt(agent): result = agent("What is the time, day, and weather?")