

def test_user_creation_email(self):
    '\n        By default, creating a new user sends an activation email.\n        \n        '
    new_user = RegistrationProfile.objects.create_inactive_user(site=Site.objects.get_current(), **new_user.user_info)
    self.assertEqual(len(mail.outbox), 1)

dataset/ETHPy150Open codesters/codesters/registration/tests/models.py RegistrationModelTests.test_user_creation_email/VarMisuse@31/71 `self`->`new_user`