'You can change your name prior to marking a verification attempt ready,
but changing your name afterwards should not affect the value in the
in the attempt record. Basically, we want to always know what your name
was when you submitted it.'

def test_name_freezing(self):

    user = UserFactory.create()
    user.profile.name = u'Jack    \u01b4'
    attempt = SoftwareSecurePhotoVerification(user=user)
    user.profile.name = u'Clyde    \u01b4'
    attempt.mark_ready()
    user.profile.name = u'Rusty    \u01b4'
    assert_equals(u'Clyde    \u01b4', attempt.name)
