@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_set_blob_metadata_with_upper_case(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    metadata = {'hello': 'world', 'number': '42', 'UP': 'UPval'}
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    (await blob.set_blob_metadata(metadata))
    md = (await blob.get_blob_properties()).metadata
    self.assertEqual(3, len(md))
    self.assertEqual(md['hello'], 'world')
    self.assertEqual(md['number'], '42')
    self.assertEqual(md['UP'], 'UPval')
    self.assertFalse(('up' in md))
@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_set_blob_metadata_with_upper_case(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    metadata = {'hello': 'world', 'number': '42', 'UP': 'UPval'}
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    (await blob.set_blob_metadata(metadata))
    md = (await blob.get_blob_properties()).metadata
    self.assertEqual(3, len(md))
    self.assertEqual(md['hello'], 'world')
    self.assertEqual(md['number'], '42')
    self.assertEqual(md['UP'], 'UPval')
    self.assertFalse(('up' in md))