Changeset 9365 for django/trunk/django/contrib/auth
- Timestamp:
- 11/06/08 13:49:24 (2 months ago)
- Files:
-
- django/trunk/django/contrib/auth/tests/views.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/auth/tests/views.py
r8613 r9365 17 17 self.assertEquals(response.status_code, 200) 18 18 response = self.client.post('/password_reset/', {'email': 'not_a_real_email@email.com'}) 19 self.assertContains(response, "That e-mail address doesn 't have an associated user account")19 self.assertContains(response, "That e-mail address doesn't have an associated user account") 20 20 self.assertEquals(len(mail.outbox), 0) 21 21 … … 88 88 'new_password2':' x'}) 89 89 self.assertEquals(response.status_code, 200) 90 self.assert_("The two password fields didn 't match" in response.content)90 self.assert_("The two password fields didn't match" in response.content) 91 91 92 92 … … 148 148 ) 149 149 self.assertEquals(response.status_code, 200) 150 self.assert_("The two password fields didn 't match." in response.content)150 self.assert_("The two password fields didn't match." in response.content) 151 151 152 152 def test_password_change_succeeds(self):
