Skip to content

Commit 51c5f24

Browse files
committed
fixing linting issues
1 parent 1413474 commit 51c5f24

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

integrations/chroma/tests/test_document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
TEST_EMBEDDING_1,
1616
CountDocumentsTest,
1717
DeleteDocumentsTest,
18-
FilterDocumentsTest,
1918
DocumentStoreBaseExtendedTests,
19+
FilterDocumentsTest,
2020
)
2121

2222
from haystack_integrations.document_stores.chroma import ChromaDocumentStore

integrations/elasticsearch/tests/test_document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from haystack.dataclasses.document import Document
1111
from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError
1212
from haystack.document_stores.types import DuplicatePolicy
13-
from haystack.testing.document_store import DocumentStoreBaseTests, DocumentStoreBaseExtendedTests
13+
from haystack.testing.document_store import DocumentStoreBaseExtendedTests, DocumentStoreBaseTests
1414
from haystack.utils import Secret
1515
from haystack.utils.auth import TokenSecret
1616

integrations/mongodb_atlas/tests/test_document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from haystack.dataclasses.document import ByteStream, Document
1111
from haystack.document_stores.errors import DuplicateDocumentError
1212
from haystack.document_stores.types import DuplicatePolicy
13-
from haystack.testing.document_store import DocumentStoreBaseTests, DocumentStoreBaseExtendedTests
13+
from haystack.testing.document_store import DocumentStoreBaseExtendedTests, DocumentStoreBaseTests
1414
from haystack.utils import Secret
1515
from pymongo import MongoClient
1616
from pymongo.driver_info import DriverInfo

integrations/pinecone/tests/test_document_store.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ def test_sentence_window_retriever(self, document_store: PineconeDocumentStore):
342342

343343
assert len(result["context_windows"]) == 1
344344

345-
346345
def test_count_documents_by_filter(self, document_store: PineconeDocumentStore):
347346
docs = [
348347
Document(content="Doc 1", meta={"category": "A", "status": "draft"}),

integrations/qdrant/tests/test_document_store.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
)
2424

2525

26-
class TestQdrantDocumentStore(CountDocumentsTest, WriteDocumentsTest, DeleteDocumentsTest, DocumentStoreBaseExtendedTests):
26+
class TestQdrantDocumentStore(
27+
CountDocumentsTest, WriteDocumentsTest, DeleteDocumentsTest, DocumentStoreBaseExtendedTests
28+
):
2729
@pytest.fixture
2830
def document_store(self) -> QdrantDocumentStore:
2931
return QdrantDocumentStore(

0 commit comments

Comments
 (0)