docstr: Assert execute method defer for Dbt cloud job run status sensors
docstr_tok: ["Assert","execute","method","defer","for","Dbt","cloud","job","run","status","sensors"]
code: def test_dbt_job_run_async_sensor(self, mock_hook):
      """Assert execute method defer for Dbt cloud job run status sensors"""
  
      with pytest.warns(
          AirflowProviderDeprecationWarning,
          match=self.depcrecation_message,
      ):
          task = DbtCloudJobRunAsyncSensor(
              dbt_cloud_conn_id=self.CONN_ID,
              task_id=self.TASK_ID,
              run_id=self.DBT_RUN_ID,
              timeout=self.TIMEOUT,
          )
      mock_hook.return_value.get_job_run_status.return_value = (
          DbtCloudJobRunStatus.STARTING.value
      )
      with pytest.raises(TaskDeferred) as exc:
          task.execute({})
      assert isinstance(
          exc.value.trigger, DbtCloudRunJobTrigger
      ), "Trigger is not a DbtCloudRunJobTrigger"
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import patch
  import pytest
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException, TaskDeferred
  from airflow.models.connection import Connection
  from airflow.providers.dbt.cloud.hooks.dbt import DbtCloudHook, DbtCloudJobRunException, DbtCloudJobRunStatus
  from airflow.providers.dbt.cloud.sensors.dbt import DbtCloudJobRunAsyncSensor, DbtCloudJobRunSensor
  from airflow.providers.dbt.cloud.triggers.dbt import DbtCloudRunJobTrigger
  from airflow.utils import db
label_desc: Use image node_id 1 for calling the TestDbtCloudJobRunAsyncSensor obj's underlying member method code with example usage: obj.test_dbt_job_run_async_sensor(mock_hook) without return types