pytest-elasticsearch icon indicating copy to clipboard operation
pytest-elasticsearch copied to clipboard

This is a pytest plugin that enables you to test your code that relies on a running Elasticsearch search engine. It allows you to specify fixtures for Elasticsearch process and client.

Results 9 pytest-elasticsearch issues
Sort by recently updated
recently updated
newest added

Bumps [elasticsearch](https://github.com/elastic/elasticsearch-py) from 7.17.0 to 8.4.0. Release notes Sourced from elasticsearch's releases. 8.4.0 Documents Added the knn parameter to the search API. Added the knn parameter to the async_search.submit API....

dependencies
python

I would like to use pytest-elasticsearch to test code for elasticsearch 8.3 and I see that there's a MR open for it but the pipelines are failing. Any idea when...

Adding async ES client function. Changes proposed.

That's not really a bug but a missing feature :) It seems not to be possible to use authentication when connecting to Elasticsearch, or is it? The call `client =...

enhancement
help wanted
Accepting pull-requests

I create elasticsearch_my_proc and elasticsearch_my in conftest.py elasticsearch_my_proc = factories.elasticsearch_proc( host='127.0.0.1', port=9201, cluster_name=None, network_publish_host='127.0.0.1', discovery_zen_ping_multicast_enabled=False, index_store_type='memory', logs_prefix='') elasticsearch_my = factories.elasticsearch('elasticsearch_my_proc') Then I use this in test_save function def test_save(product_test_data, elasticsearch_my):...

help wanted

Bumps [elasticsearch](https://github.com/elastic/elasticsearch-py) from 7.17.0 to 8.4.3. Release notes Sourced from elasticsearch's releases. 8.4.3 Client is compatible with Elasticsearch 8.4.3 8.4.2 Documents Added the error_trace, filter_path, human and pretty parameters to...

dependencies
python

### What action do you want to perform There is 2 issue : It looks like we can't connect pytest-elasticsearch with an elastic client above 8.0.0 on a server that...

Bumps [black](https://github.com/psf/black) from 24.8.0 to 24.10.0. Release notes Sourced from black's releases. 24.10.0 Highlights Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449)...

dependencies
python