'``RegistrationProfile.activation_key_expired()`` is ``False`` within
the activation window. Even if the user was created in the past.'

def test_unexpired_account_old_date_joined(self):

    self.user_info['date_joined'] = (datetime_now() - timedelta((settings.ACCOUNT_ACTIVATION_DAYS + 1)))
    new_user = self.registration_profile.objects.create_inactive_user(site=Site.objects.get_current(), **self.user_info)
    profile = self.registration_profile.objects.get(user=new_user)
    self.failIf(profile.activation_key_expired())
