Commits

Valentin Golev  committed 7f05b0b

error in test. +4 tests

  • Participants
  • Parent commits 08c7bb1

Comments (0)

Files changed (1)

File mon_django/auth/tests/views.py

         url, path = self._test_confirm_start()
         path = path[:-5] + ("0"*4) + path[-1]
 
-        response = self.client.post(path, {'new_password1': 'anewpassword',
-                                           'new_password2':' anewpassword'})
+        response = self.client.post(path, {'new_password1': 'anewpassword3',
+                                           'new_password2':' anewpassword3'})
         # Check the password has not been changed
         u = User.objects.get(email='staffmember@example.com')
-        self.assert_(not u.check_password("anewpassword"))
+        self.assert_(not u.check_password("anewpassword3"))
 
     def test_confirm_complete(self):
         url, path = self._test_confirm_start()