def test_get_active_users_works_with_email(self):
     form = PasswordResetForm()
     self.assertIn(self.user, form.get_active_users(EMAIL))
 def test_get_active_users_works_with_username(self):
     form = PasswordResetForm()
     self.assertIn(self.user, form.get_active_users(USERNAME))