From 7503c134e90287afff97cda8530344b19a40b309 Mon Sep 17 00:00:00 2001 From: Mark <mark@openappstack.net> Date: Tue, 30 Jun 2020 14:26:20 +0200 Subject: [PATCH] Refactor --- test/integration_tests/app.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/integration_tests/app.py b/test/integration_tests/app.py index 97c1aed..f5ad16b 100644 --- a/test/integration_tests/app.py +++ b/test/integration_tests/app.py @@ -57,16 +57,15 @@ def logout(): return redirect("/") @oauth_authorized.connect -def redirect_to_next_url(blueprint, token): +def save_token(blueprint, token): # set OAuth token in the token storage backend blueprint.token = token @oauth_error.connect -def asdasd(blueprint, **error): - # set OAuth token in the token storage backend +def save_error(blueprint, **error): + # set error in the token storage backend blueprint.error = error if __name__ == "__main__": app.run() - -- GitLab