From 794bfeb4353ae16820076851832fa26fd755aaae Mon Sep 17 00:00:00 2001 From: Marc Chakiachvili Date: Mon, 17 Apr 2023 14:29:30 +0100 Subject: [PATCH] Forgotten update on `es` client object --- src/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/conftest.py b/src/tests/conftest.py index 93fb259..94e6b56 100644 --- a/src/tests/conftest.py +++ b/src/tests/conftest.py @@ -102,7 +102,7 @@ def wait_for(url: str, retries: int = 2, backoff: float = 0.2): def elastic_search(): wait_for(f"http://localhost:9200/") with ElasticsearchConnectionManager("localhost", "9200", "", "", False) as es: - print("EsInfo", es.info()) + print("EsInfo", es.client.info()) def search(body: dict) -> None: es.client.indices.flush() es.client.indices.refresh()