From bbcf0e69292b56f5cf875242dbed32a120a1f36c Mon Sep 17 00:00:00 2001 From: Sarthak Agrawal Date: Sat, 13 Jun 2026 11:15:41 +0530 Subject: [PATCH] fix: sync filter-whitelist test with parent_id added in #5 PR #5 added parent_id to _ALLOWED_FILTER_COLS for cross-backend compatibility but forgot to update the corresponding test assertion. Co-Authored-By: Claude Opus 4.8 --- tests/test_pgvector_filters.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/test_pgvector_filters.py b/tests/test_pgvector_filters.py index e670daf..e63b6a1 100644 --- a/tests/test_pgvector_filters.py +++ b/tests/test_pgvector_filters.py @@ -6,7 +6,14 @@ def test_whitelist_includes_expected_columns() -> None: - assert {"project", "file_id", "entity_id", "parent_chunk", "domain"} == pvs._ALLOWED_FILTER_COLS + assert { + "project", + "file_id", + "entity_id", + "parent_id", + "parent_chunk", + "domain", + } == pvs._ALLOWED_FILTER_COLS def test_injection_shape_dropped() -> None: