Ticket #16412: 16412.diff
File 16412.diff, 613 bytes (added by , 13 years ago) |
---|
-
django/contrib/auth/tests/forms.py
261 261 data = {'email': 'testclient@example.com'} 262 262 form = PasswordResetForm(data) 263 263 self.assertTrue(form.is_valid()) 264 form.save( )264 form.save(domain_override='example.com') 265 265 self.assertEqual(len(mail.outbox), 1) 266 266 self.assertEqual(mail.outbox[0].subject, u'Custom password reset on example.com') 267 267