

def assertRaisesNotMatchPattern(self, obj, stringified_values):
    context = context.get_invalid_data_context(obj)
    self.assertIn("Failed validating 'pattern' in schema", context.exception.message)
    self.assertIn('{0} does not match'.format(stringified_values), context.exception.message)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py BaseValidatorTest.assertRaisesNotMatchPattern/VarMisuse@16/24 `self`->`context`