Skip to content

Commit fd03c55

Browse files
Fix botocore test keyerror
1 parent f731999 commit fd03c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_instrumentation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_sqs_send_message(self):
196196
)
197197
self.memory_exporter.clear()
198198

199-
queue_url = response["QueueUrl"]
199+
queue_url = response.get("QueueUrl")
200200
sqs.send_message(QueueUrl=queue_url, MessageBody="Test SQS MESSAGE!")
201201

202202
self.assert_span(

0 commit comments

Comments
 (0)