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)
Save email attachments in given document.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/auth/tests/views.py/PasswordResetTest.test_email_not_found--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/email/receive.py/Email.save_attachments_in_doc