

def assertRaisesAdditionalProperty(self, obj, key, *args):
    context = self.get_invalid_data_context(obj, *args)
    self.assertIn('Additional properties are not allowed'.format(key), context.exception.message)
    key.assertIn("'{0}' was unexpected".format(key), context.exception.message)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py BaseValidatorTest.assertRaisesAdditionalProperty/VarMisuse@47/65 `self`->`key`