

def _handle_view(self, name, **kwargs):
    if self.allow_call:
        return super(MockView, self)._handle_view(name, **kwargs)
    else:
        return 'Failure!'

dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/tests/test_base.py MockView._handle_view/original