We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b182bd1 commit 275b67dCopy full SHA for 275b67d
tests/test_session.py
@@ -18,6 +18,11 @@ def test_get_auth_list(self):
18
expected = sorted(['publickey', 'password', 'keyboard-interactive'])
19
self.assertListEqual(auth_list, expected)
20
21
+ def test_direct_tcpip(self):
22
+ self.assertEqual(self._auth(), 0)
23
+ chan = self.session.direct_tcpip(self.host, self.port)
24
+ self.assertTrue(chan is not None)
25
+
26
def test_agent(self):
27
agent = self.session.agent_init()
28
self.assertTrue(agent.connect() == 0)
0 commit comments