def METHOD_NAME(self, pyramid_config, view):
    api_config.add_api_view(
        pyramid_config,
        view,
        versions=["v1"],
        route_name="thing.read",
        renderer="xml",
    )
    (_, kwargs) = pyramid_config.add_view.call_args_list[0]
    assert kwargs["renderer"] == "xml"