stages/password: fix formatting
This commit is contained in:
parent
974c2ddb11
commit
bdaf0111c2
|
@ -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")
|
||||
|
|
|
@ -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",
|
||||
|
|
Reference in a new issue