docstr: Test if exception is raised when bucket_name is provided
  while bucket_key is provided as a full s3:// url.
  :return:
docstr_tok: ["Test","if","exception","is","raised","when","bucket_name","is","provided","while","bucket_key","is","provided","as","a","full","s3",":","\/\/","url",".",":","return",":"]
code: def test_bucket_name_provided_and_bucket_key_is_s3_url(self):
      """
      Test if exception is raised when bucket_name is provided
      while bucket_key is provided as a full s3:// url.
      :return:
      """
      op = S3KeySensor(
          task_id="s3_key_sensor",
          bucket_key="s3://test_bucket/file",
          bucket_name="test_bucket",
      )
      with pytest.raises(TypeError):
          op.poke(None)
  
imports: from __future__ import annotations
  from datetime import datetime
  from unittest import mock
  import pytest
  import time_machine
  from airflow.exceptions import AirflowException, AirflowSkipException
  from airflow.models import DAG, DagRun, TaskInstance
  from airflow.models.variable import Variable
  from airflow.providers.amazon.aws.sensors.s3 import S3KeySensor, S3KeysUnchangedSensor
  from airflow.utils import timezone
label_desc: Use image node_id 3 for calling the TestS3KeySensor obj's underlying member method code with example usage: obj.test_bucket_name_provided_and_bucket_key_is_s3_url() without return types