code: def _assert_jobs(ti):
      job_names = ti.xcom_pull(
          task_ids=[list_jobs_task_name], key="return_value"
      )
      job_names_str = (
          job_names[0][0]["name"].split("/")[-1]
          + " "
          + job_names[0][1]["name"].split("/")[-1]
      )
      assert job1_name in job_names_str
      assert job2_name in job_names_str
  
file_path: airflow/tests/system/providers/google/cloud/cloud_batch/example_cloud_batch.py
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from google.cloud import batch_v1
  from airflow.models.dag import DAG
  from airflow.operators.python import PythonOperator
  from airflow.providers.google.cloud.operators.cloud_batch import CloudBatchDeleteJobOperator, CloudBatchListJobsOperator, CloudBatchListTasksOperator, CloudBatchSubmitJobOperator
  from airflow.utils.trigger_rule import TriggerRule
  from tests.system.utils import get_test_run
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_jobs(ti) without return types