code: def test_job_splunk_logs(self, caplog):
      self.client_mock.describe_jobs.return_value = {
          "jobs": [
              {
                  "jobId": JOB_ID,
                  "logStreamName": LOG_STREAM_NAME,
                  "container": {
                      "logConfiguration": {
                          "logDriver": "splunk",
                      }
                  },
              }
          ]
      }
      with caplog.at_level(level=logging.WARNING):
          assert self.batch_client.get_job_awslogs_info(JOB_ID) is None
          assert len(caplog.records) == 1
          assert (
              "uses non-aws log drivers. AWS CloudWatch logging disabled."
              in caplog.messages[0]
          )
  
imports: from __future__ import annotations
  import logging
  import time
  from unittest import mock
  import botocore.exceptions
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.amazon.aws.hooks.batch_client import BatchClientHook
  from airflow.providers.amazon.aws.utils.task_log_fetcher import AwsTaskLogFetcher
label_desc: Use image node_id 22 for calling the TestBatchClient obj's underlying member method code with example usage: obj.test_job_splunk_logs(caplog) without return types