def test_activation_email(self):
        new_user = User.objects.create_user(**self.user_info)
        profile = RegistrationProfile.objects.create_profile(new_user)
        profile.send_activation_email(Site.objects.get_current())
        self.assertEqual(len(mail.outbox), 1)
        self.assertEqual(mail.outbox[0].to, [self.user_info['email']])
``RegistrationProfile.send_activation_email`` sends an
dataset/ETHPy150Open codesters/codesters/registration/tests/models.py/RegistrationModelTests.test_activation_email