107
107
self.assertEqual(len(mail.outbox), 1)
108
108
self.assertEqual("staffmember@example.com", mail.outbox[0].from_email)
110
111
def test_admin_reset(self):
111
112
"If the reset view is marked as being for admin, the HTTP_HOST header is used for a domain override."
112
113
response = self.client.post('/admin_password_reset/',