Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Bowen Liang7fa735a43bc8
diff --git a/api/tests/integration_tests/vdb/pgvecto_rs/test_pgvecto_rs.py b/api/tests/integration_tests/vdb/pgvecto_rs/test_pgvecto_rs.py
index a2b9669b908..89a40a92bee 100644
--- a/api/tests/integration_tests/vdb/pgvecto_rs/test_pgvecto_rs.py
+++ b/api/tests/integration_tests/vdb/pgvecto_rs/test_pgvecto_rs.py
@@ -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()
diff --git a/api/tests/integration_tests/vdb/pgvector/test_pgvector.py b/api/tests/integration_tests/vdb/pgvector/test_pgvector.py
index 915bb5e837a..851599c7cec 100644
--- a/api/tests/integration_tests/vdb/pgvector/test_pgvector.py
+++ b/api/tests/integration_tests/vdb/pgvector/test_pgvector.py
@@ -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()