opensearch-project / opensearch-py

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

Remove support for local client in testing. #573

Closed dblock closed 10 months ago

dblock commented 10 months ago

Description

This looks like an unnecessary and undocumented test feature that allows potentially to create a local file that returns a custom client. I can't imagine why this would be a good idea.

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.

codecov[bot] commented 10 months ago

Codecov Report

Merging #573 (18b38a5) into main (d8dc547) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #573   +/-   ##
=======================================
  Coverage   71.69%   71.69%           
=======================================
  Files          87       87           
  Lines        7886     7886           
=======================================
  Hits         5654     5654           
  Misses       2232     2232