def test_crc32c_setter(self):
    BLOB_NAME = 'blob-name'
    CRC32C = 'DEADBEEF'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.crc32c)
    blob.crc32c = CRC32C
    self.assertEqual(blob.crc32c, CRC32C)
def test_crc32c_setter(self):
    BLOB_NAME = 'blob-name'
    CRC32C = 'DEADBEEF'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.crc32c)
    blob.crc32c = CRC32C
    self.assertEqual(blob.crc32c, CRC32C)