feat(py-monitor): add KeywordTests()

This commit is contained in:
hoelee committed 2026-10-16 11:12:00 +08:00
1 parent 8093e62ca8
commit f1504968a2
1 file changed
+5
+5
View File
@@ -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()