'Error is raised if the provided email address isn\'t currently registered'

def test_email_not_found(self):

    response = self.client.get('/password_reset/')
    self.assertEqual(response.status_code, 200)
    response = self.client.post('/password_reset/', {'email': 'not_a_real_email@email.com'})
    self.assertContains(response, 'That    e-mail    address    doesn&#39;t    have    an    associated    user    account')
    self.assertEqual(len(mail.outbox), 0)
