def test_mock_gzipped_transfer_encoding_chunked_decoded(self):
        def stream():
            # Set up a generator to chunk the gzipped body
            import zlib
            compress = zlib.compressobj(6, zlib.DEFLATED, 16 + zlib.MAX_WBITS)
            data = compress.compress(b'foobar')
            data += compress.flush()
            for i in range(0, len(data), 2):
                yield data[i:i+2]

        fp = MockChunkedEncodingResponse(list(stream()))
        r = httplib.HTTPResponse(MockSock)
        r.fp = fp
        headers = {'transfer-encoding': 'chunked', 'content-encoding': 'gzip'}
        resp = HTTPResponse(r, preload_content=False, headers=headers)

        data = b''
        for c in resp.stream(decode_content=True):
            data += c

        self.assertEqual(b'foobar', data)
Deletes a blob from the current bucket.
dataset/ETHPy150Open shazow/urllib3/test/test_response.py/TestResponse.test_mock_gzipped_transfer_encoding_chunked_decoded--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/storage/bucket.py/Bucket.delete_blob