def METHOD_NAME(self):
    '''
    Tests that the new style reset keys that contain an expiration date work
    '''
    user_dict = factories.User(name='new_reset_key_user', email='new_reset_key_user@hdx.hdxtest.org')
    user = model.User.get(user_dict['id'])
    reset_password.create_reset_key(user)
    assert user.reset_key
    reset_key_helper = reset_password.ResetKeyHelper(user.reset_key)
    assert reset_key_helper.contains_expiration_time()
    assert not reset_key_helper.is_expired()