def test_excludesfunction_false(self): value = random_string() func = ExcludesFunction(value) self.assertFalse(func.match(value))
def test_excludesfunction_true(self): value = random_string() func = ExcludesFunction(value) self.assertTrue(func.match(random_string()))