def METHOD_NAME(
    self, pyramid_request, organization_service, views, name, notes
):
    pyramid_request.matchdict["id_"] = sentinel.id_
    pyramid_request.params["name"] = name
    pyramid_request.params["hypothesis.notes"] = notes
    organization_service.get_by_id.return_value = factories.Organization()
    response = views.update_organization()
    organization_service.update_organization.assert_called_once_with(
        organization_service.get_by_id.return_value,
        name=name.strip() if name else "",
        notes=notes.strip() if notes else "",
    )
    assert response == Any.instance_of(HTTPFound)