@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_list_blobs_server_encryption(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    (await self._create_block_blob())
    container = self.bsc.get_container_client(self.container_name)
    blob_list = []
    async for b in container.list_blobs():
        blob_list.append(b)
    for blob in blob_list:
        self.assertTrue(blob.server_encrypted)
@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_list_blobs_server_encryption(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    (await self._create_block_blob())
    container = self.bsc.get_container_client(self.container_name)
    blob_list = []
    async for b in container.list_blobs():
        blob_list.append(b)
    for blob in blob_list:
        self.assertTrue(blob.server_encrypted)