mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 00:49:03 +08:00
chore: rename vdb tests for PGVector and PGvectoRS (#4973)
This commit is contained in:
parent
3579fd1b09
commit
7fa735a43b
@ -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()
|
||||
|
@ -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…
x
Reference in New Issue
Block a user