From c0e3774c6d4148eb4d700f0e6fe48d080602e0e6 Mon Sep 17 00:00:00 2001 From: Adi Kochavi Date: Mon, 6 Feb 2023 11:03:34 +0200 Subject: [PATCH] wip --- .../tests/test_elasticsearch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instrumentation/opentelemetry-instrumentation-elasticsearch/tests/test_elasticsearch.py b/instrumentation/opentelemetry-instrumentation-elasticsearch/tests/test_elasticsearch.py index b9cda47f8f..a12e462e0f 100644 --- a/instrumentation/opentelemetry-instrumentation-elasticsearch/tests/test_elasticsearch.py +++ b/instrumentation/opentelemetry-instrumentation-elasticsearch/tests/test_elasticsearch.py @@ -426,7 +426,9 @@ def test_no_op_tracer_provider(self, request_mock): ) es = Elasticsearch() res = es.get(index="test-index", doc_type="_doc", id=1) - self.assertEqual(res.get('found'), json.loads(response_payload).get('found')) + self.assertEqual( + res.get("found"), json.loads(response_payload).get("found") + ) spans_list = self.get_finished_spans() self.assertEqual(len(spans_list), 0)