class_docstr: Test Class for JobStatusSensor
docstr: Test poke
code: def test_poke(self, mock_tableau_hook):
      """
      Test poke
      """
      mock_tableau_hook.return_value.__enter__ = Mock(
          return_value=mock_tableau_hook
      )
      mock_tableau_hook.get_job_status.return_value = (
          TableauJobFinishCode.SUCCESS
      )
      sensor = TableauJobStatusSensor(**self.kwargs)
  
      job_finished = sensor.poke(context={})
  
      assert job_finished
      mock_tableau_hook.get_job_status.assert_called_once_with(
          job_id=sensor.job_id
      )
  
file_path: airflow/tests/providers/tableau/sensors/test_tableau.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  from airflow.exceptions import AirflowSkipException
  from airflow.providers.tableau.sensors.tableau import TableauJobFailedException, TableauJobFinishCode, TableauJobStatusSensor
label_desc: Use image node_id 2 for calling the TestTableauJobStatusSensor obj's underlying member method code with example usage: obj.test_poke(mock_tableau_hook) without return types