Skip to content

Commit ba87d7d

Browse files
committed
Fix rebase issue
1 parent 526f9f6 commit ba87d7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

password_policies/tests/test_views.py

+5
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ def test_password_change_wrong_validators(self):
9696
changes the user's password, creates a new password history entry
9797
for the user and issues a redirect.
9898
"""
99+
data = {
100+
"old_password": passwords[-1],
101+
"new_password1": "Chah+pher9k",
102+
"new_password2": "Chah+pher9k",
103+
}
99104
msg = 'This password is too short. It must contain at least 20 characters.'
100105
self.client.login(username="alice", password=data["old_password"])
101106
response = self.client.post(reverse("password_change"), data=data)

0 commit comments

Comments
 (0)