code: def setup_method(self):
      from airflow.models import Connection
      from airflow.utils import db
  
      db.merge_conn(
          Connection(
              conn_id="ftp_passive",
              conn_type="ftp",
              host="localhost",
              extra='{"passive": true}',
          )
      )
  
      db.merge_conn(
          Connection(
              conn_id="ftp_active",
              conn_type="ftp",
              host="localhost",
              extra='{"passive": false}',
          )
      )
  
imports: from __future__ import annotations
  from io import StringIO
  from unittest import mock
  import pytest
  from airflow.providers.ftp.hooks import ftp
label_desc: Use image node_id 1 for calling the TestIntegrationFTPHook obj's underlying member method code with example usage: obj.setup_method() without return types