def test_content_disposition_setter(self):
    BLOB_NAME = 'blob-name'
    CONTENT_DISPOSITION = 'Attachment; filename=example.jpg'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.content_disposition)
    blob.content_disposition = CONTENT_DISPOSITION
    self.assertEqual(blob.content_disposition, CONTENT_DISPOSITION)
def test_content_disposition_setter(self):
    BLOB_NAME = 'blob-name'
    CONTENT_DISPOSITION = 'Attachment; filename=example.jpg'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertIsNone(blob.content_disposition)
    blob.content_disposition = CONTENT_DISPOSITION
    self.assertEqual(blob.content_disposition, CONTENT_DISPOSITION)