Skip to content

Commit de802fb

Browse files
authored
integ tests - interrupts - remove asyncio marker (#1045)
1 parent 648af22 commit de802fb

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

tests_integ/interrupts/test_hook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def agent(interrupt_hook, time_tool, weather_tool):
4848
return Agent(hooks=[interrupt_hook], tools=[time_tool, weather_tool])
4949

5050

51-
@pytest.mark.asyncio
5251
def test_interrupt(agent):
5352
result = agent("What is the time and weather?")
5453

@@ -112,7 +111,6 @@ def test_interrupt(agent):
112111
assert tru_tool_result_message == exp_tool_result_message
113112

114113

115-
@pytest.mark.asyncio
116114
def test_interrupt_reject(agent):
117115
result = agent("What is the time and weather?")
118116

tests_integ/interrupts/test_session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def agent(interrupt_hook, time_tool, weather_tool):
4747
return Agent(hooks=[interrupt_hook], tools=[time_tool, weather_tool])
4848

4949

50-
@pytest.mark.asyncio
5150
def test_interrupt_session(interrupt_hook, time_tool, weather_tool, tmpdir):
5251
session_manager = FileSessionManager(session_id="strands-interrupt-test", storage_dir=tmpdir)
5352
agent = Agent(hooks=[interrupt_hook], session_manager=session_manager, tools=[time_tool, weather_tool])

tests_integ/interrupts/test_tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def agent(interrupt_hook, time_tool, day_tool, weather_tool):
5858
return Agent(hooks=[interrupt_hook], tools=[time_tool, day_tool, weather_tool])
5959

6060

61-
@pytest.mark.asyncio
6261
def test_interrupt(agent):
6362
result = agent("What is the time, day, and weather?")
6463

0 commit comments

Comments
 (0)