stages/invitation: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5ea9601062
commit
2507c0eec9
|
@ -130,9 +130,7 @@ class TestUserLoginStage(TestCase):
|
||||||
"""Test with invitation, check data in session"""
|
"""Test with invitation, check data in session"""
|
||||||
data = {"foo": "bar"}
|
data = {"foo": "bar"}
|
||||||
invite = Invitation.objects.create(
|
invite = Invitation.objects.create(
|
||||||
created_by=get_anonymous_user(),
|
created_by=get_anonymous_user(), fixed_data=data, single_use=True
|
||||||
fixed_data=data,
|
|
||||||
single_use=True
|
|
||||||
)
|
)
|
||||||
|
|
||||||
plan = FlowPlan(
|
plan = FlowPlan(
|
||||||
|
|
|
@ -32,7 +32,7 @@ from authentik.core.api.users import UserSerializer
|
||||||
from authentik.core.models import User
|
from authentik.core.models import User
|
||||||
from authentik.managed.manager import ObjectManager
|
from authentik.managed.manager import ObjectManager
|
||||||
|
|
||||||
RETRIES = int(environ.get("RETRIES", "3"))
|
RETRIES = int(environ.get("RETRIES", "5"))
|
||||||
|
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
def USER() -> User: # noqa
|
def USER() -> User: # noqa
|
||||||
|
|
Reference in New Issue