def _decode_json(self, response):
        body = response.read()
        LOG.debug(_("Decoding JSON: %s") % (body))
        if body:
            return json.loads(body)
        else:
            return ""
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/integrated/api/client.py/TestOpenStackClient._decode_json/original