Skip to content

Commit 7d1ac73

Browse files
committed
More changes
1 parent d0d2429 commit 7d1ac73

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/unit/utils/test_endpoints.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async def test_get_agent_with_conversation_id(
284284

285285
@pytest.mark.asyncio
286286
async def test_get_agent_with_conversation_id_and_no_agent_in_llama_stack(
287-
setup_configuration, prepare_agent_mocks, mocker
287+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
288288
):
289289
"""Test get_agent function when conversation_id is provided."""
290290
mock_client, mock_agent = prepare_agent_mocks
@@ -342,7 +342,7 @@ async def test_get_agent_with_conversation_id_and_no_agent_in_llama_stack(
342342

343343
@pytest.mark.asyncio
344344
async def test_get_agent_no_conversation_id(
345-
setup_configuration, prepare_agent_mocks, mocker
345+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
346346
):
347347
"""Test get_agent function when conversation_id is None."""
348348
mock_client, mock_agent = prepare_agent_mocks
@@ -396,7 +396,7 @@ async def test_get_agent_no_conversation_id(
396396

397397
@pytest.mark.asyncio
398398
async def test_get_agent_empty_shields(
399-
setup_configuration, prepare_agent_mocks, mocker
399+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
400400
):
401401
"""Test get_agent function with empty shields list."""
402402
mock_client, mock_agent = prepare_agent_mocks
@@ -450,7 +450,7 @@ async def test_get_agent_empty_shields(
450450

451451
@pytest.mark.asyncio
452452
async def test_get_agent_multiple_mcp_servers(
453-
setup_configuration, prepare_agent_mocks, mocker
453+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
454454
):
455455
"""Test get_agent function with multiple MCP servers."""
456456
mock_client, mock_agent = prepare_agent_mocks
@@ -506,7 +506,7 @@ async def test_get_agent_multiple_mcp_servers(
506506

507507
@pytest.mark.asyncio
508508
async def test_get_agent_session_persistence_enabled(
509-
setup_configuration, prepare_agent_mocks, mocker
509+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
510510
):
511511
"""Test get_agent function ensures session persistence is enabled."""
512512
mock_client, mock_agent = prepare_agent_mocks
@@ -555,7 +555,7 @@ async def test_get_agent_session_persistence_enabled(
555555

556556
@pytest.mark.asyncio
557557
async def test_get_agent_no_tools_no_parser(
558-
setup_configuration, prepare_agent_mocks, mocker
558+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
559559
):
560560
"""Test get_agent function sets tool_parser=None when no_tools=True."""
561561
mock_client, mock_agent = prepare_agent_mocks
@@ -610,7 +610,7 @@ async def test_get_agent_no_tools_no_parser(
610610

611611
@pytest.mark.asyncio
612612
async def test_get_agent_no_tools_false_preserves_parser(
613-
setup_configuration, prepare_agent_mocks, mocker
613+
setup_configuration, prepare_agent_mocks, mocker: MockerFixture
614614
):
615615
"""Test get_agent function preserves tool_parser when no_tools=False."""
616616
mock_client, mock_agent = prepare_agent_mocks

0 commit comments

Comments
 (0)