mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-18 08:03:36 +00:00
@@ -51,7 +51,7 @@ class TestMongoDBAtlasVectorSearch:
|
||||
# insure the test collection is empty
|
||||
collection = get_collection()
|
||||
if collection.count_documents({}):
|
||||
collection.delete_many({}) # type: ignore[index] # noqa: E501
|
||||
collection.delete_many({}) # type: ignore[index]
|
||||
|
||||
@classmethod
|
||||
def teardown_class(cls) -> None:
|
||||
|
@@ -46,7 +46,7 @@ class TestMongoDBAtlasVectorSearch:
|
||||
def setup_class(cls) -> None:
|
||||
# ensure 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