From 736873e94957d04d1131bb4721af17a87756fd55 Mon Sep 17 00:00:00 2001 From: hoelee Date: Tue, 17 Feb 2026 12:17:00 +0800 Subject: [PATCH] test(py-monitor): run test_case_insensitive_match --- platform/py-monitor/tests/test_core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/py-monitor/tests/test_core.py b/platform/py-monitor/tests/test_core.py index 17dac7a7..0bd4f8f3 100644 --- a/platform/py-monitor/tests/test_core.py +++ b/platform/py-monitor/tests/test_core.py @@ -51,6 +51,11 @@ class PriceTests(unittest.TestCase): self.assertIsNone(normalize_condition("refurbished")) +class KeywordTests(unittest.TestCase): + + def test_case_insensitive_match(self): + self.assertTrue(title_matches_keyword("iPhone 13 PROTECTOR", ["protector"])) + if __name__ == "__main__": unittest.main()