(self)
| 1039 | self.assertTrue(op("haystack needle", b"haystack")) |
| 1040 | |
| 1041 | def test_startswith_fail(self): |
| 1042 | op = operators.get_operator("startswith") |
| 1043 | self.assertFalse(op("hasystack needle haystack", "needle")) |
| 1044 | self.assertFalse(op("a hasystack needle haystack", "haystack")) |
| 1045 | self.assertFalse( |
| 1046 | op("1", None), "Passed startswith with None as criteria_pattern." |
| 1047 | ) |
| 1048 | |
| 1049 | def test_istartswith(self): |
| 1050 | op = operators.get_operator("istartswith") |
nothing calls this directly
no outgoing calls
no test coverage detected