diff --git a/tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py b/tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py index df96c0aac9c..1b7b44b5504 100644 --- a/tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py +++ b/tests/e2e/llm_translation/test_messages_prompt_caching_and_tool_search_e2e.py @@ -229,6 +229,12 @@ def test_anthropic_tool_search_returns_a_message( assert message.usage.input_tokens > 0, f"tool search response had no input usage: {message.usage!r}" +@pytest.mark.parametrize("backend", TOOL_SEARCH_BACKENDS) +@pytest.mark.covers( + "llm.messages.anthropic.tool_search.nonstream.works", + "llm.messages.bedrock_converse.tool_search.nonstream.works", + "llm.messages.bedrock_invoke.tool_search.nonstream.works", +) @meta( Subject( domain=Domain.LLM_TRANSLATION, @@ -238,12 +244,6 @@ def test_anthropic_tool_search_returns_a_message( mode=Mode.STREAM, ) ) -@pytest.mark.parametrize("backend", TOOL_SEARCH_BACKENDS) -@pytest.mark.covers( - "llm.messages.anthropic.tool_search.nonstream.works", - "llm.messages.bedrock_converse.tool_search.nonstream.works", - "llm.messages.bedrock_invoke.tool_search.nonstream.works", -) def test_anthropic_tool_search_streaming_returns_a_message( proxy: ProxyClient, resources: ResourceManager, sdk: SdkClients, backend: str ) -> None: