Skip to content

Commit

Permalink
fix style of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ILSparkle committed Aug 22, 2024
1 parent 91aa67c commit 09cce5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions tests/retriever/test_dense_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from cardinal.vectorstore import AutoVectorStore
from cardinal.retriever import DenseRetriever


class Animal(BaseModel):
name: str

Expand Down
4 changes: 2 additions & 2 deletions tests/retriever/test_sparse_retriever.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import pytest
from pydantic import BaseModel
from cardinal.storage import AutoStorage
from cardinal.retriever import SparseRetriever
import os
import pytest


class Document(BaseModel):
Expand Down
5 changes: 2 additions & 3 deletions tests/vectorstore/test_vector_store.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from pydantic import BaseModel
from cardinal.vectorstore import AutoVectorStore, AutoCondition
from cardinal.vectorstore.schema import Operator
from pydantic import BaseModel
from enum import IntEnum



class Animal(BaseModel):
name: str

Expand Down

0 comments on commit 09cce5e

Please sign in to comment.