opensearch-project / opensearch-py

Python Client for OpenSearch
https://opensearch.org/docs/latest/clients/python/
Apache License 2.0
359 stars 178 forks source link

Skip put_aliases tests that don't require both index and alias parameters. #778

Closed dblock closed 4 months ago

dblock commented 4 months ago

Description

Fixes integration tests. The Python client alias functions require both an index and an alias as a parameter and don't try to be clever about it allowing a specification in the body. This is better user experience. Coming from https://github.com/opensearch-project/opensearch-py/pull/777, skips test variants that don't require both index and alias parameters. Similar to https://github.com/opensearch-project/opensearch-net/pull/719.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.