We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03a397 commit 428203aCopy full SHA for 428203a
test_elasticsearch/test_dsl/test_connections.py
@@ -123,7 +123,7 @@ def test_connection_has_correct_user_agent() -> None:
123
c.create_connection("testing", hosts=["https://es.com:9200"])
124
assert (
125
c.get_connection("testing")
126
- ._headers["user-agent"]
+ ._base_client._headers["user-agent"]
127
.startswith("elasticsearch-dsl-py/")
128
)
129
test_elasticsearch/test_server/test_otel.py
@@ -34,7 +34,7 @@
34
35
def test_otel_end_to_end(sync_client):
36
tracer, memory_exporter = setup_tracing()
37
- sync_client._otel.tracer = tracer
+ sync_client._base_client._otel.tracer = tracer
38
39
resp = sync_client.search(index="logs-*", query={"match_all": {}})
40
assert resp.meta.status == 200
0 commit comments