def test_storage_class_setter(self):
    blob_name = 'blob-name'
    bucket = _Bucket()
    storage_class = 'COLDLINE'
    blob = self._make_one(blob_name, bucket=bucket)
    self.assertIsNone(blob.storage_class)
    blob.storage_class = storage_class
    self.assertEqual(blob.storage_class, storage_class)
    self.assertEqual(blob._properties, {'storageClass': storage_class})
def test_storage_class_setter(self):
    blob_name = 'blob-name'
    bucket = _Bucket()
    storage_class = 'COLDLINE'
    blob = self._make_one(blob_name, bucket=bucket)
    self.assertIsNone(blob.storage_class)
    blob.storage_class = storage_class
    self.assertEqual(blob.storage_class, storage_class)
    self.assertEqual(blob._properties, {'storageClass': storage_class})