From bdfc5e3d3e5999442b49b3d836fe298995506a8a Mon Sep 17 00:00:00 2001 From: Nitzan Pomerantz <9297302+nitzpo@users.noreply.github.com> Date: Thu, 30 Oct 2025 20:18:09 +0200 Subject: [PATCH] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tests/govmap/test_filters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/govmap/test_filters.py b/tests/govmap/test_filters.py index 7ce2a40..9cd38cf 100644 --- a/tests/govmap/test_filters.py +++ b/tests/govmap/test_filters.py @@ -78,9 +78,9 @@ class TestFilterDealsByCriteria: def test_filter_by_property_type_partial_match(self, sample_deals): """Test filtering by partial property type (substring).""" result = filter_deals_by_criteria(sample_deals, property_type="דירה") - # Should match only "דירה" exactly (not "דירת גג" because "דירה" != "דירת") - assert len(result) == 2 - assert set(d.objectid for d in result) == {1, 4} + # Should match "דירה" and "דירת גג" via substring match. + assert len(result) == 3 + assert set(d.objectid for d in result) == {1, 2, 4} def test_filter_by_property_type_case_insensitive(self, sample_deals): """Test that property type filtering is case-insensitive."""