@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_lease_blob_with_proposed_lease_id(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)
    lease_id = 'a0e6c241-96ea-45a3-a44b-6ae868bc14d0'
    lease = (await blob.acquire_lease(lease_id=lease_id))
    self.assertEqual(lease.id, lease_id)
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_lease_blob_with_proposed_lease_id(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)
    lease_id = 'a0e6c241-96ea-45a3-a44b-6ae868bc14d0'
    lease = (await blob.acquire_lease(lease_id=lease_id))
    self.assertEqual(lease.id, lease_id)