From 7a848ee203c9e89229603bb0ef85dc39e1252811 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Thu, 23 Jan 2025 17:52:52 +0100 Subject: [PATCH] Pass proper parameters in conver stream test with invalid model --- .../tests/test_botocore_bedrock.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py b/instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py index 3ca5787c52..ce3b4375e9 100644 --- a/instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py +++ b/instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_bedrock.py @@ -191,8 +191,7 @@ def test_converse_stream_with_invalid_model( assert_converse_stream_completion_attributes( span, llm_model_value, - None, - "chat", + operation_name="chat", ) assert span.status.status_code == StatusCode.ERROR