haystack/test/document_stores/test_opensearch.py

13 lines
328 B
Python
Raw Normal View History

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)