base.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:ironic-tempest-plugin 作者: openstack 项目源码 文件源码
def _delete_request(self, resource, uuid):
        """Delete specified object.

        :param resource: The name of the REST resource, e.g., 'nodes'.
        :param uuid: The unique identifier of an object in UUID format.
        :returns: A tuple with the server response and the response body.

        """
        uri = self._get_uri(resource, uuid)

        resp, body = self.delete(uri)
        self.expected_success(http_client.NO_CONTENT, resp.status)
        return resp, body
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号