1 es_url() pollutes the output with diagnostic messages when it is unable to
2 connect. Since we do not have the search engine packaged we simply skip all
3 tests that needs the engine.
5 --- elasticsearch-py-8.17.0/test_elasticsearch/conftest.py.orig
6 +++ elasticsearch-py-8.17.0/test_elasticsearch/conftest.py
9 @pytest.fixture(scope="session")
10 def elasticsearch_url():
13 - except RuntimeError as e:
15 + pytest.skip("Needs the search engine")
18 @pytest.fixture(scope="session")
19 --- elasticsearch-py-8.17.0/test_elasticsearch/test_server/test_rest_api_spec.py.orig
20 +++ elasticsearch-py-8.17.0/test_elasticsearch/test_server/test_rest_api_spec.py
22 from typing import Tuple, Union
25 +pytest.skip("Needs the search engine", allow_module_level=True)