

def test_unexpired_account(self):
    '\n        ``RegistrationProfile.activation_key_expired()`` is ``False``\n        within the activation window.\n        \n        '
    new_user = RegistrationProfile.objects.create_inactive_user(site=Site.objects.get_current(), **self.user_info)
    profile = RegistrationProfile.objects.get(user=new_user)
    self.failIf(profile.activation_key_expired())

dataset/ETHPy150Open codesters/codesters/registration/tests/models.py RegistrationModelTests.test_unexpired_account/original