280
285
self.addCleanup(self.manager_patcher.stop)
282
287
def _test_action_on_attr(self, context, action, attr, value,
284
289
action = "%s_network" % action
285
290
target = {'tenant_id': 'the_owner', attr: value}
287
294
self.assertRaises(exception, policy.enforce,