Skip to content

Commit

Permalink
Refactor test_pgvector.py to use AbstractVectorTest instead of Abstra…
Browse files Browse the repository at this point in the history
…ctTestVector
  • Loading branch information
vaayne committed Apr 29, 2024
1 parent 20848cb commit 76dc6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/tests/integration_tests/vdb/pgvector/test_pgvector.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from core.rag.datasource.vdb.pgvector.pgvector import PGVector, PGVectorConfig
from core.rag.models.document import Document
from tests.integration_tests.vdb.test_vector_store import (
AbstractTestVector,
AbstractVectorTest,
get_example_text,
setup_mock_redis,
)


class TestPGVector(AbstractTestVector):
class TestPGVector(AbstractVectorTest):
def __init__(self):
super().__init__()
self.vector = PGVector(
Expand Down

0 comments on commit 76dc6a4

Please sign in to comment.