def test_metadata_getter(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    METADATA = {'foo': 'Foo'}
    properties = {'metadata': METADATA}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.metadata, METADATA)
def test_metadata_getter(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    METADATA = {'foo': 'Foo'}
    properties = {'metadata': METADATA}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.metadata, METADATA)