mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-26 18:30:40 +00:00
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)
|