@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_set_blob_properties_with_blob_settings_param(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    props = (await blob.get_blob_properties())
    props.content_settings.content_language = 'spanish'
    props.content_settings.content_disposition = 'inline'
    (await blob.set_http_headers(content_settings=props.content_settings))
    props = (await blob.get_blob_properties())
    self.assertEqual(props.content_settings.content_language, 'spanish')
    self.assertEqual(props.content_settings.content_disposition, 'inline')
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_set_blob_properties_with_blob_settings_param(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    props = (await blob.get_blob_properties())
    props.content_settings.content_language = 'spanish'
    props.content_settings.content_disposition = 'inline'
    (await blob.set_http_headers(content_settings=props.content_settings))
    props = (await blob.get_blob_properties())
    self.assertEqual(props.content_settings.content_language, 'spanish')
    self.assertEqual(props.content_settings.content_disposition, 'inline')