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-HEAD/restfw_composed_permissions/tests.py   djangorestframework-composed-permissions(Download)
    def test_allow_safe_method_only(self):
        request = self.make_request()
        request.method = "GET"
 
        instance = components.AllowOnlySafeHttpMethod()

src/d/j/djangorestframework-composed-permissions-0.1/restfw_composed_permissions/tests.py   djangorestframework-composed-permissions(Download)
    def test_allow_safe_method_only(self):
        request = self.make_request()
        request.method = "GET"
 
        instance = components.AllowOnlySafeHttpMethod()