code: def setup_method(self):
      db.merge_conn(
          Connection(
              conn_id="datadog_default",
              conn_type="datadog",
              login="login",
              password="password",
              extra=json.dumps(
                  {"api_key": "api_key", "app_key": "app_key"}
              ),
          )
      )
  
file_path: airflow/tests/providers/datadog/sensors/test_datadog.py
imports: from __future__ import annotations
  import json
  from unittest.mock import patch
  import pytest
  from airflow.exceptions import AirflowException, AirflowSkipException
  from airflow.models import Connection
  from airflow.providers.datadog.sensors.datadog import DatadogSensor
  from airflow.utils import db
label_desc: Use image node_id 1 for calling the TestDatadogSensor obj's underlying member method code with example usage: obj.setup_method() without return types