def test_deferred_success_result(self):
        passthrough = self.make_wrapped_function()
        result = passthrough(succeed(123))
        self.assertEqual(result, 123)
Tests that a permission with no view defined just raises an error.
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/WaitTestsMixin.test_deferred_success_result--crossover with--dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/permissions/tests/tests.py/TestRequests.test_disallowed_request_no_redirect