(self, encoding=DEFAULT_ENCODING)
| 911 | """ |
| 912 | |
| 913 | def setUp(self, encoding=DEFAULT_ENCODING): |
| 914 | self.server = DummyTLS_FTPServer((HOST, 0), encoding=encoding) |
| 915 | self.server.start() |
| 916 | self.client = ftplib.FTP_TLS(timeout=TIMEOUT, encoding=encoding) |
| 917 | self.client.connect(self.server.host, self.server.port) |
| 918 | # enable TLS |
| 919 | self.client.auth() |
| 920 | self.client.prot_p() |
| 921 | |
| 922 | |
| 923 | @skipUnless(ssl, "SSL not available") |
nothing calls this directly
no test coverage detected