def test_content_encoding_getter(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    CONTENT_ENCODING = 'gzip'
    properties = {'contentEncoding': CONTENT_ENCODING}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.content_encoding, CONTENT_ENCODING)
def test_content_encoding_getter(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    CONTENT_ENCODING = 'gzip'
    properties = {'contentEncoding': CONTENT_ENCODING}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.content_encoding, CONTENT_ENCODING)