Skip to content

Commit 7306942

Browse files
committed
fix(weaviate): restore comments and remove duplicate async test
1 parent 162da68 commit 7306942

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

integrations/weaviate/tests/test_document_store_async.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -186,19 +186,6 @@ async def test_filter_documents_over_default_limit(self, document_store: Weaviat
186186
{"field": "content", "operator": "==", "value": "This is some content"}
187187
)
188188

189-
@pytest.mark.asyncio
190-
async def test_write_documents_async(self, document_store: WeaviateDocumentStore) -> None:
191-
"""
192-
Test write_documents() with default policy overwrites existing documents.
193-
"""
194-
doc = Document(content="test doc")
195-
assert await document_store.write_documents_async([doc]) == 1
196-
assert await document_store.count_documents_async() == 1
197-
198-
doc.content = "test doc 2"
199-
assert await document_store.write_documents_async([doc]) == 1
200-
assert await document_store.count_documents_async() == 1
201-
202189
@pytest.mark.asyncio
203190
async def test_write_documents_with_tenant_async(self, document_store):
204191
doc = Document(content="tenant test doc")

0 commit comments

Comments
 (0)