Ticket #16412: 16412.diff

File 16412.diff, 613 bytes (added by Aymeric Augustin, 13 years ago)
  • django/contrib/auth/tests/forms.py

     
    261261            data = {'email': 'testclient@example.com'}
    262262            form = PasswordResetForm(data)
    263263            self.assertTrue(form.is_valid())
    264             form.save()
     264            form.save(domain_override='example.com')
    265265            self.assertEqual(len(mail.outbox), 1)
    266266            self.assertEqual(mail.outbox[0].subject, u'Custom password reset on example.com')
    267267
Back to Top