From 96d1e8af8e467e3de8c5e7e74ec30015b01035a0 Mon Sep 17 00:00:00 2001 From: Raduan77 Date: Thu, 20 Mar 2025 11:24:15 +0100 Subject: [PATCH] fix typos in tests --- tests/test_agent_runner_streamed.py | 2 +- tests/test_global_hooks.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_agent_runner_streamed.py b/tests/test_agent_runner_streamed.py index 4c7c7ef..87a76a7 100644 --- a/tests/test_agent_runner_streamed.py +++ b/tests/test_agent_runner_streamed.py @@ -674,7 +674,7 @@ async def test_streaming_events(): total_expected_item_count = sum(expected_item_type_map.values()) assert event_counts["run_item_stream_event"] == total_expected_item_count, ( - f"Expectd {total_expected_item_count} events, got {event_counts['run_item_stream_event']}" + f"Expected {total_expected_item_count} events, got {event_counts['run_item_stream_event']}" f"Expected events were: {expected_item_type_map}, got {event_counts}" ) diff --git a/tests/test_global_hooks.py b/tests/test_global_hooks.py index 6ac35b9..4585441 100644 --- a/tests/test_global_hooks.py +++ b/tests/test_global_hooks.py @@ -223,7 +223,7 @@ class Foo(TypedDict): @pytest.mark.asyncio -async def test_structed_output_non_streamed_agent_hooks(): +async def test_structured_output_non_streamed_agent_hooks(): hooks = RunHooksForTests() model = FakeModel() agent_1 = Agent(name="test_1", model=model) @@ -296,7 +296,7 @@ async def test_structed_output_non_streamed_agent_hooks(): @pytest.mark.asyncio -async def test_structed_output_streamed_agent_hooks(): +async def test_structured_output_streamed_agent_hooks(): hooks = RunHooksForTests() model = FakeModel() agent_1 = Agent(name="test_1", model=model)