def test_cache_control_setter(self):
    BLOB_NAME = 'blob-name'
    CACHE_CONTROL = 'no-cache'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.cache_control)
    blob.cache_control = CACHE_CONTROL
    self.assertEqual(blob.cache_control, CACHE_CONTROL)
def test_cache_control_setter(self):
    BLOB_NAME = 'blob-name'
    CACHE_CONTROL = 'no-cache'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.cache_control)
    blob.cache_control = CACHE_CONTROL
    self.assertEqual(blob.cache_control, CACHE_CONTROL)