def test_media_link(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    MEDIA_LINK = 'http://example.com/media/'
    properties = {'mediaLink': MEDIA_LINK}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.media_link, MEDIA_LINK)
def test_media_link(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    MEDIA_LINK = 'http://example.com/media/'
    properties = {'mediaLink': MEDIA_LINK}
    blob = self._make_one(BLOB_NAME, bucket=bucket, properties=properties)
    self.assertEqual(blob.media_link, MEDIA_LINK)