stages/password: fix formatting

This commit is contained in:
Jens Langhammer 2020-09-25 21:12:42 +02:00
parent 974c2ddb11
commit bdaf0111c2
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,8 @@ class TestFlowsStageSetup(SeleniumTestCase):
"""test password change flow"""
# Ensure that password stage has change_flow set
flow = Flow.objects.get(
slug="default-password-change", designation=FlowDesignation.STAGE_CONFIGURATION,
slug="default-password-change",
designation=FlowDesignation.STAGE_CONFIGURATION,
)
stage = PasswordStage.objects.get(name="default-authentication-password")

View File

@ -16,7 +16,9 @@ class Migration(migrations.Migration):
operations = [
migrations.RenameField(
model_name="passwordstage", old_name="change_flow", new_name="configure_flow"
model_name="passwordstage",
old_name="change_flow",
new_name="configure_flow",
),
migrations.AlterField(
model_name="passwordstage",