def test_email_found_custom_from(self):
        response = self.client.post('/password_reset_from_email/', {'email': 'staffmember@example.com'})
        self.assertEqual(response.status_code, 302)
        self.assertEqual(len(mail.outbox), 1)
        self.assertEqual("staffmember@example.com", mail.outbox[0].from_email)
Return the type if it matches one of the cards.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/auth/tests/test_views.py/PasswordResetTest.test_email_found_custom_from--crossover with--dataset/ETHPy150Open spookylukey/django-paypal/paypal/pro/creditcard.py/CreditCard.get_type