code: def test_queued_tasks(self):
      celery_executor_mock = mock.MagicMock()
      k8s_executor_mock = mock.MagicMock()
      cke = CeleryKubernetesExecutor(
          celery_executor_mock, k8s_executor_mock
      )
  
      celery_queued_tasks = {
          ("dag_id", "task_id", "2020-08-30", 1): "queued_command"
      }
      k8s_queued_tasks = {
          ("dag_id_2", "task_id_2", "2020-08-30", 2): "queued_command"
      }
  
      celery_executor_mock.queued_tasks = celery_queued_tasks
      k8s_executor_mock.queued_tasks = k8s_queued_tasks
  
      expected_queued_tasks = {
          **celery_queued_tasks,
          **k8s_queued_tasks,
      }
      assert cke.queued_tasks == expected_queued_tasks
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.callbacks.callback_requests import CallbackRequest
  from airflow.configuration import conf
  from airflow.providers.celery.executors.celery_executor import CeleryExecutor
  from airflow.providers.celery.executors.celery_kubernetes_executor import CeleryKubernetesExecutor
  from airflow.providers.cncf.kubernetes.executors.kubernetes_executor import KubernetesExecutor
label_desc: Use image node_id 8 for calling the TestCeleryKubernetesExecutor obj's underlying member method code with example usage: obj.test_queued_tasks() without return types