'Dummy method that solves one chall at a time to desired_status.
When all are solved.. it changes authzr.status to desired_status'

def _mock_poll_solve_one_chall(self, authzr, desired_status):

    new_challbs = authzr.body.challenges
    for challb in authzr.body.challenges:
        if (challb.status != desired_status):
            new_challbs = tuple(((challb_temp if (challb_temp != challb) else acme_util.chall_to_challb(challb.chall, desired_status)) for challb_temp in authzr.body.challenges))
            break
    if all(((test_challb.status == desired_status) for test_challb in new_challbs)):
        status_ = desired_status
    else:
        status_ = authzr.body.status
    new_authzr = messages.AuthorizationResource(uri=authzr.uri, body=messages.Authorization(identifier=authzr.body.identifier, challenges=new_challbs, combinations=authzr.body.combinations, status=status_))
    return (new_authzr, 'response')
