@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_create_blob_with_special_chars(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    for c in "-._ /()$=',~":
        blob_name = '{0}a{0}a{0}'.format(c)
        blob_data = c
        blob = self.bsc.get_blob_client(self.container_name, blob_name)
        (await blob.upload_blob(blob_data, length=len(blob_data)))
        data = (await (await blob.download_blob()).readall())
        content = data.decode('utf-8')
        self.assertEqual(content, blob_data)
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_create_blob_with_special_chars(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    for c in "-._ /()$=',~":
        blob_name = '{0}a{0}a{0}'.format(c)
        blob_data = c
        blob = self.bsc.get_blob_client(self.container_name, blob_name)
        (await blob.upload_blob(blob_data, length=len(blob_data)))
        data = (await (await blob.download_blob()).readall())
        content = data.decode('utf-8')
        self.assertEqual(content, blob_data)