From 67a17b022d7b26c7aef51c332e5b33bc17d98562 Mon Sep 17 00:00:00 2001 From: Nitzan Pomerantz <9297302+nitzpo@users.noreply.github.com> Date: Thu, 30 Oct 2025 20:25:14 +0200 Subject: [PATCH] Remove irrelevant code as per gemini cr --- tests/conftest.py | 15 --------------- tests/govmap/test_filters.py | 6 ------ 2 files changed, 21 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index ea9781d..3cf2ee4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -77,18 +77,3 @@ def vcr_cassette(request): cassette_name = f"{request.module.__name__}.{test_name}" return my_vcr.use_cassette(cassette_name) - - -@pytest.fixture -def vcr_enabled(): - """ - Fixture that enables VCR for the entire test function. - - Usage: - @pytest.mark.usefixtures('vcr_enabled') - def test_something(): - # All HTTP calls automatically recorded/replayed - response = requests.get("...") - """ - # This is handled by pytest-vcr plugin or manual context manager - pass diff --git a/tests/govmap/test_filters.py b/tests/govmap/test_filters.py index 9cd38cf..4d6d4b5 100644 --- a/tests/govmap/test_filters.py +++ b/tests/govmap/test_filters.py @@ -82,12 +82,6 @@ class TestFilterDealsByCriteria: 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.""" - result = filter_deals_by_criteria(sample_deals, property_type="דירה") - result_upper = filter_deals_by_criteria(sample_deals, property_type="דירה") - assert len(result) == len(result_upper) - def test_filter_by_min_rooms(self, sample_deals): """Test filtering by minimum rooms.""" result = filter_deals_by_criteria(sample_deals, min_rooms=4.0)