From 2507c0eec932adc82abb8537a018813d8d777f83 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 3 May 2021 10:08:50 +0200 Subject: [PATCH] stages/invitation: fix linting Signed-off-by: Jens Langhammer --- authentik/stages/invitation/tests.py | 4 +--- tests/e2e/utils.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/authentik/stages/invitation/tests.py b/authentik/stages/invitation/tests.py index 44186979d..7e1b166c4 100644 --- a/authentik/stages/invitation/tests.py +++ b/authentik/stages/invitation/tests.py @@ -130,9 +130,7 @@ class TestUserLoginStage(TestCase): """Test with invitation, check data in session""" data = {"foo": "bar"} invite = Invitation.objects.create( - created_by=get_anonymous_user(), - fixed_data=data, - single_use=True + created_by=get_anonymous_user(), fixed_data=data, single_use=True ) plan = FlowPlan( diff --git a/tests/e2e/utils.py b/tests/e2e/utils.py index 3d7c3bca4..f326bdb25 100644 --- a/tests/e2e/utils.py +++ b/tests/e2e/utils.py @@ -32,7 +32,7 @@ from authentik.core.api.users import UserSerializer from authentik.core.models import User from authentik.managed.manager import ObjectManager -RETRIES = int(environ.get("RETRIES", "3")) +RETRIES = int(environ.get("RETRIES", "5")) # pylint: disable=invalid-name def USER() -> User: # noqa