code: def test_poke(self):
      hook = RedisHook(redis_conn_id="redis_default")
      redis = hook.get_conn()
      redis.set("test_key", "test_value")
      assert self.sensor.poke(None), "Key exists on first call."
      redis.delete("test_key")
      assert not self.sensor.poke(
          None
      ), "Key does NOT exists on second call."
  
file_path: airflow/tests/integration/providers/redis/sensors/test_redis_key.py
imports: from __future__ import annotations
  import pytest
  from airflow.models.dag import DAG
  from airflow.providers.redis.hooks.redis import RedisHook
  from airflow.providers.redis.sensors.redis_key import RedisKeySensor
  from airflow.utils import timezone
label_desc: Use image node_id 2 for calling the TestRedisSensor obj's underlying member method code with example usage: obj.test_poke() without return types