Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/djangorestframework-composed-permissions-0.1/restfw_composed_permissions/tests.py   djangorestframework-composed-permissions(Download)
        obj.y = 1
 
        instance = components.ObjectAttrEqualToObjectAttr("obj.x", "obj.y")
        self.assertTrue(instance.has_object_permission(None, None, None, obj))
 

src/d/j/djangorestframework-composed-permissions-HEAD/restfw_composed_permissions/tests.py   djangorestframework-composed-permissions(Download)
        obj.y = 1
 
        instance = components.ObjectAttrEqualToObjectAttr("obj.x", "obj.y")
        self.assertTrue(instance.has_object_permission(None, None, None, obj))