def test_chunk_size_setter(self):
    BLOB_NAME = 'blob-name'
    BUCKET = object()
    blob = self._make_one(BLOB_NAME, bucket=BUCKET)
    self.assertIsNone(blob._chunk_size)
    blob._CHUNK_SIZE_MULTIPLE = 10
    blob.chunk_size = 20
    self.assertEqual(blob._chunk_size, 20)
def test_chunk_size_setter(self):
    BLOB_NAME = 'blob-name'
    BUCKET = object()
    blob = self._make_one(BLOB_NAME, bucket=BUCKET)
    self.assertIsNone(blob._chunk_size)
    blob._CHUNK_SIZE_MULTIPLE = 10
    blob.chunk_size = 20
    self.assertEqual(blob._chunk_size, 20)