MCPcopy Index your code
hub / github.com/python/cpython / test_control_connection

Method test_control_connection

Lib/test/test_ftplib.py:941–944  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

939 asyncore.close_all(ignore_all=True)
940
941 def test_control_connection(self):
942 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket)
943 self.client.auth()
944 self.assertIsInstance(self.client.sock, ssl.SSLSocket)
945
946 def test_data_connection(self):
947 # clear text

Callers

nothing calls this directly

Calls 3

assertNotIsInstanceMethod · 0.80
assertIsInstanceMethod · 0.80
authMethod · 0.45

Tested by

no test coverage detected