def setUp(self):
        """
        Creates the object patching the actual connection.
        """
        cfg.CONF.set_override(name="ssh_key_file", override=None, group="system_user")
        cfg.CONF.set_override(name="use_ssh_config", override=False, group="ssh_runner")
        cfg.CONF.set_override(
            name="ssh_connect_timeout", override=30, group="ssh_runner"
        )

        conn_params = {
            "hostname": "dummy.host.org",
            "port": 8822,
            "username": "ubuntu",
            "key_files": "~/.ssh/ubuntu_ssh",
            "timeout": 30,
        }
        self.ssh_cli = ParamikoSSHClient(**conn_params)

        Creates the object patching the actual connection.
        
st2actions/tests/unit/test_paramiko_ssh.py