| ) | ) | ||||
| class TestPgvectoRSVector(AbstractVectorTest): | |||||
| class PGVectoRSVectorTest(AbstractVectorTest): | |||||
| def __init__(self): | def __init__(self): | ||||
| super().__init__() | super().__init__() | ||||
| self.vector = PGVectoRS( | self.vector = PGVectoRS( | ||||
| assert len(ids) == 1 | assert len(ids) == 1 | ||||
| def test_pgvecot_rs(setup_mock_redis): | def test_pgvecot_rs(setup_mock_redis): | ||||
| TestPgvectoRSVector().run_all_tests() | |||||
| PGVectoRSVectorTest().run_all_tests() |
| ) | ) | ||||
| class TestPGVector(AbstractVectorTest): | |||||
| class PGVectorTest(AbstractVectorTest): | |||||
| def __init__(self): | def __init__(self): | ||||
| super().__init__() | super().__init__() | ||||
| self.vector = PGVector( | self.vector = PGVector( | ||||
| def test_pgvector(setup_mock_redis): | def test_pgvector(setup_mock_redis): | ||||
| TestPGVector().run_all_tests() | |||||
| PGVectorTest().run_all_tests() |