mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-28 19:29:40 +00:00

* move OpenSearchDocumentStore into its own Python module * Update Documentation & Code Style * mark test with (sigh) elasticsearch * skip opensearch tests on windows Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
13 lines
328 B
Python
13 lines
328 B
Python
import sys
|
|
|
|
import pytest
|
|
|
|
from haystack.document_stores import OpenSearchDocumentStore
|
|
|
|
pytestmark = pytest.mark.skipif(sys.platform in ["win32", "cygwin"], reason="Opensearch not running on Windows CI")
|
|
|
|
|
|
@pytest.mark.elasticsearch
|
|
def test_init_opensearch_client():
|
|
OpenSearchDocumentStore(index="test_index", port=9201)
|