(self)
| 866 | self.assertFalse(op(string, "(pikachu|snorlax|charmander)"), "Passed regex.") |
| 867 | |
| 868 | def test_regex_fail(self): |
| 869 | op = operators.get_operator("regex") |
| 870 | self.assertFalse(op("v1_foo", "v1$"), "Passed regex.") |
| 871 | |
| 872 | string = "fooPONIESbarfooooo" |
| 873 | self.assertFalse(op(string, "ponies"), "Passed regex.") |
| 874 | |
| 875 | self.assertFalse(op("1", None), "Passed regex with None as criteria_pattern.") |
| 876 | |
| 877 | def test_matchregex_case_variants(self): |
| 878 | op = operators.get_operator("MATCHREGEX") |
nothing calls this directly
no outgoing calls
no test coverage detected