def test_update_storage_class_invalid(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    with self.assertRaises(ValueError):
        blob.update_storage_class(u'BOGUS')
def test_update_storage_class_invalid(self):
    BLOB_NAME = 'blob-name'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    with self.assertRaises(ValueError):
        blob.update_storage_class(u'BOGUS')