code: def test_fail_poke(
      self,
      mock_batch_client,
      batch_job_queue_sensor: BatchJobQueueSensor,
      job_queue,
      soft_fail,
      expected_exception,
  ):
      mock_batch_client.describe_job_queues.return_value = {
          "jobQueues": job_queue
      }
      batch_job_queue_sensor.treat_non_existing_as_deleted = False
      batch_job_queue_sensor.soft_fail = soft_fail
      message = "AWS Batch job queue"
      with pytest.raises(expected_exception, match=message):
          batch_job_queue_sensor.poke({})
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException, AirflowSkipException, TaskDeferred
  from airflow.providers.amazon.aws.hooks.batch_client import BatchClientHook
  from airflow.providers.amazon.aws.sensors.batch import BatchComputeEnvironmentSensor, BatchJobQueueSensor, BatchSensor
  from airflow.providers.amazon.aws.triggers.batch import BatchJobTrigger
label_desc: Use image node_id 6 for calling the TestBatchJobQueueSensor obj's underlying member method code with example usage: obj.test_fail_poke(mock_batch_client, batch_job_queue_sensor, job_queue, soft_fail, expected_exception) without return types