def test_obj_method_decorators(self):
        
        for obj in self.objs:
            self.assertEqual(obj.get_val_x2(user_kw=self.u1), 2)
            self.assertEqual(obj.get_val_x3_other_val(user_kw=self.u2), (3, self.u2))
            self.assertEqual(obj.get_val_x4(test_kw=self.o3), 4)
            self.assertEqual(obj.get_val_x5_username(user=self.u1), (5, self.u1.username))
        
        for obj in self.objs:
            self.assertRaises(PermissionDenied, obj.get_val_x2, obj, user_kw=self.u2)
            self.assertRaises(PermissionDenied, obj.get_val_x3_other_val, obj, user_kw=self.o3)
            self.assertRaises(PermissionDenied, obj.get_val_x4, obj, test_kw=self.objs[1])
            self.assertRaises(PermissionDenied, obj.get_val_x5_username, obj, user=self.u2)
Returns a list of server details for a given user.
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/common/permissions/tests/tests.py/TestObjectPermissions.test_obj_method_decorators--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/legacy_v2/servers.py/Controller.detail