code: def test_execute_with_failures(self, wait_mock):
      wait_mock.return_value = True  # No wait
      # Remove pool id
      self.operator.batch_pool_id = None
  
      # test that it raises
      with pytest.raises(AirflowException):
          self.operator.execute(None)
  
file_path: airflow/tests/providers/microsoft/azure/operators/test_batch.py
imports: from __future__ import annotations
  import json
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.microsoft.azure.hooks.batch import AzureBatchHook
  from airflow.providers.microsoft.azure.operators.batch import AzureBatchOperator
label_desc: Use image node_id 4 for calling the TestAzureBatchOperator obj's underlying member method code with example usage: obj.test_execute_with_failures(wait_mock) without return types