def test_redirect(self): request_handler.stub_me() result = request_handler.handle_request( PostRequest({'redirect': 'test_page'}), lambda x: {}, 'nothing') assert result == '/test_page/'
def index(request): page, context = handle_request(request) context['transaction_key'] = 'requested' return request_handler.handle_request(request, lambda x: context, page)
def index(request): return request_handler.handle_request(request, handle_request, 'adddauerauftrag.html')
def index(request): return request_handler.handle_request(request, handle_request, 'addausgabe.html')
def index(request): return request_handler.handle_request(request, _handle_request, 'uebersicht_jahr.html')
def index(request): return request_handler.handle_request(request, _handle_request, 'uebersicht_dauerauftrag.html')
def index(request): return request_handler.handle_request(request, handle_request, 'addeinnahme.html')
def abrechnen(request): return request_handler.handle_request(request, _abrechnen, 'present_abrechnung.html')
def index(request): return request_handler.handle_request(request, _handle_request, 'uebersicht_gemeinsam.html')
def index(request): return request_handler.handle_request(request, handle_request, 'addgemeinsam.html')
def index(request): return request_handler.handle_request(request, _handle_request, 'dashboard.html')
def index(request): return request_handler.handle_request(request, _handle_request, 'gemeinsamabrechnen.html')