@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_get_account_information_with_container_sas(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    container = self.bsc.get_container_client(self.container_name)
    token = generate_container_sas(container.account_name, container.container_name, account_key=container.credential.account_key, permission=ContainerSasPermissions(read=True), expiry=(datetime.utcnow() + timedelta(hours=1)))
    sas_container = ContainerClient.from_container_url(container.url, credential=token)
    info = (await sas_container.get_account_information())
    self.assertIsNotNone(info.get('sku_name'))
    self.assertIsNotNone(info.get('account_kind'))
@pytest.mark.live_test_only
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_get_account_information_with_container_sas(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    container = self.bsc.get_container_client(self.container_name)
    token = generate_container_sas(container.account_name, container.container_name, account_key=container.credential.account_key, permission=ContainerSasPermissions(read=True), expiry=(datetime.utcnow() + timedelta(hours=1)))
    sas_container = ContainerClient.from_container_url(container.url, credential=token)
    info = (await sas_container.get_account_information())
    self.assertIsNotNone(info.get('sku_name'))
    self.assertIsNotNone(info.get('account_kind'))