'Confirmation of a new e-mail address with turns out to be valid.'

def test_confirmation_valid(self):

    new_email = 'john@newexample.com'
    user = User.objects.get(pk=1)
    user.userena_signup.change_email(new_email)
    confirmed_user = UserenaSignup.objects.confirm_email(user.userena_signup.email_confirmation_key)
    self.assertEqual(user, confirmed_user)
    self.assertEqual(confirmed_user.email, new_email)
    self.assertFalse(confirmed_user.userena_signup.email_unconfirmed)
    self.assertFalse(confirmed_user.userena_signup.email_confirmation_key)
