def METHOD_NAME(api, policy):
    '''
    test to configure the policy
    '''
    details = api.policies.details(policy['policy_id'])
    details['settings']['name'] = 'MODIFIED'
    api.policies.configure(policy['policy_id'], details)
    updated = api.policies.details(policy['policy_id'])
    assert updated['settings']['name'] == 'MODIFIED'