Browse Source

chore: rename vdb tests for PGVector and PGvectoRS (#4973)

tags/0.6.11
Bowen Liang 1 year ago
parent
commit
7fa735a43b
No account linked to committer's email address

+ 2
- 2
api/tests/integration_tests/vdb/pgvecto_rs/test_pgvecto_rs.py View File

@@ -6,7 +6,7 @@ from tests.integration_tests.vdb.test_vector_store import (
)


class TestPgvectoRSVector(AbstractVectorTest):
class PGVectoRSVectorTest(AbstractVectorTest):
def __init__(self):
super().__init__()
self.vector = PGVectoRS(
@@ -34,4 +34,4 @@ class TestPgvectoRSVector(AbstractVectorTest):
assert len(ids) == 1

def test_pgvecot_rs(setup_mock_redis):
TestPgvectoRSVector().run_all_tests()
PGVectoRSVectorTest().run_all_tests()

+ 2
- 2
api/tests/integration_tests/vdb/pgvector/test_pgvector.py View File

@@ -7,7 +7,7 @@ from tests.integration_tests.vdb.test_vector_store import (
)


class TestPGVector(AbstractVectorTest):
class PGVectorTest(AbstractVectorTest):
def __init__(self):
super().__init__()
self.vector = PGVector(
@@ -27,4 +27,4 @@ class TestPGVector(AbstractVectorTest):


def test_pgvector(setup_mock_redis):
TestPGVector().run_all_tests()
PGVectorTest().run_all_tests()

Loading…
Cancel
Save