mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-25 04:49:17 +00:00
@@ -7,7 +7,7 @@ from langchain_community.vectorstores import Qdrant
|
||||
from tests.integration_tests.vectorstores.fake_embeddings import (
|
||||
ConsistentFakeEmbeddings,
|
||||
)
|
||||
from tests.integration_tests.vectorstores.qdrant.async_api.fixtures import ( # noqa
|
||||
from tests.integration_tests.vectorstores.qdrant.async_api.fixtures import (
|
||||
qdrant_locations,
|
||||
)
|
||||
|
||||
|
@@ -74,7 +74,7 @@ class TestAzureCosmosDBVectorSearch:
|
||||
|
||||
# insure the test collection is empty
|
||||
collection = prepare_collection()
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index] # noqa: E501
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index]
|
||||
|
||||
@classmethod
|
||||
def teardown_class(cls) -> None:
|
||||
|
@@ -70,7 +70,7 @@ class TestDocumentDBVectorSearch:
|
||||
|
||||
# insure the test collection is empty
|
||||
collection = prepare_collection()
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index] # noqa: E501
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index]
|
||||
|
||||
@classmethod
|
||||
def teardown_class(cls) -> None:
|
||||
|
@@ -34,7 +34,7 @@ class TestMongoDBAtlasVectorSearch:
|
||||
def setup_class(cls) -> None:
|
||||
# insure the test collection is empty
|
||||
collection = get_collection()
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index] # noqa: E501
|
||||
assert collection.count_documents({}) == 0 # type: ignore[index]
|
||||
|
||||
@classmethod
|
||||
def teardown_class(cls) -> None:
|
||||
|
Reference in New Issue
Block a user