def test_includesfunction_false(self): value = random_string() func = IncludesFunction(value) self.assertFalse(func.match(random_string()))
def test_includesfunction_true(self): value = random_string() func = IncludesFunction(value) self.assertTrue(func.match(value))