Django

Code

Show
Ignore:
Timestamp:
11/06/08 13:49:24 (2 months ago)
Author:
kmtracey
Message:

Fixed #6160, #9111 -- Consistently apply conditional_escape to form errors and labels when outputing them as HTML.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/tests/views.py

    r8613 r9365  
    1717        self.assertEquals(response.status_code, 200) 
    1818        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") 
    2020        self.assertEquals(len(mail.outbox), 0) 
    2121 
     
    8888                                           'new_password2':' x'}) 
    8989        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) 
    9191 
    9292 
     
    148148        ) 
    149149        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) 
    151151 
    152152    def test_password_change_succeeds(self):