code: def test_poke_success(self, mock_get_crawler):
      mock_get_crawler.return_value["LastCrawl"]["Status"] = "SUCCEEDED"
      assert self.sensor.poke({}) is False
      mock_get_crawler.assert_called_once_with("aws_test_glue_crawler")
  
file_path: airflow/tests/providers/amazon/aws/sensors/test_glue_crawler.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException, AirflowSkipException
  from airflow.providers.amazon.aws.hooks.glue_crawler import GlueCrawlerHook
  from airflow.providers.amazon.aws.sensors.glue_crawler import GlueCrawlerSensor
label_desc: Use image node_id 2 for calling the TestGlueCrawlerSensor obj's underlying member method code with example usage: obj.test_poke_success(mock_get_crawler) without return types