elastic / elasticsearch-py

Official Python client for Elasticsearch
https://ela.st/es-python
Apache License 2.0
4.17k stars 1.17k forks source link

Fix pytest warning #2577

Closed pquentin closed 1 month ago

pquentin commented 1 month ago

Applying pytest.mark.usefixtures on a pytest fixture does not have any effect, see https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function. The idea was to call wipe_cluster, but we do it explicitly now anyways.

Relates https://github.com/elastic/elasticsearch-serverless-python/pull/41

github-actions[bot] commented 1 month ago

A documentation preview will be available soon.

Request a new doc build by commenting * Rebuild this PR: `run docs-build` * Rebuild this PR and all Elastic docs: `run docs-build rebuild` `run docs-build` is much faster than `run docs-build rebuild`. A `rebuild` should only be needed in rare situations. If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status [here](https://buildkite.com/elastic/docs-build).