

def dispatch(self, request, *args, **kwargs):
    user_test_result = user_test_result.get_test_func()()
    if (not user_test_result):
        return self.handle_no_permission()
    return super(UserPassesTestMixin, self).dispatch(request, *args, **kwargs)

dataset/ETHPy150Open pinax/pinax-likes/pinax/likes/compat.py UserPassesTestMixin.dispatch/VarMisuse@20/25 `self`->`user_test_result`