Skip to content

Commit

Permalink
better match
Browse files Browse the repository at this point in the history
  • Loading branch information
tstadel committed Jun 21, 2024
1 parent 2810eaa commit 7ec3563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/opensearch/tests/test_document_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_write_documents(self, document_store: OpenSearchDocumentStore):

def test_write_documents_readonly(self, document_store_readonly: OpenSearchDocumentStore):
docs = [Document(id="1")]
with pytest.raises(DocumentStoreError, match="no such index"):
with pytest.raises(DocumentStoreError, match="index_not_found_exception"):
document_store_readonly.write_documents(docs)

def test_create_index(self, document_store_readonly: OpenSearchDocumentStore):
Expand Down

0 comments on commit 7ec3563

Please sign in to comment.