Skip to content

Commit 6854ee0

Browse files
fix: tsv column name in tests
1 parent e5bd215 commit 6854ee0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit_tests/v2/test_async_pg_vectorstore_search.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ async def vs_custom(self, engine: PGEngine) -> AsyncIterator[AsyncPGVectorStore]
133133
yield vs_custom
134134

135135
@pytest_asyncio.fixture(scope="class")
136-
async def vs_hybrid_search_without_tsv_column(
136+
async def vs_hybrid_search_with_tsv_column(
137137
self, engine: PGEngine
138138
) -> AsyncIterator[AsyncPGVectorStore]:
139139
hybrid_search_config = HybridSearchConfig(
140-
tsv_column="",
140+
tsv_column="mycontent_tsv",
141141
tsv_lang="pg_catalog.english",
142142
fts_query="my_fts_query",
143143
fusion_function=reciprocal_rank_fusion,
@@ -159,6 +159,7 @@ async def vs_hybrid_search_without_tsv_column(
159159
],
160160
metadata_json_column="mymetadata", # ignored
161161
store_metadata=False,
162+
hybrid_search_config=hybrid_search_config,
162163
)
163164

164165
vs_custom = await AsyncPGVectorStore.create(

0 commit comments

Comments
 (0)