twisted.mail.test.test_imap.TLSTestCase.testStartTLS checks for TLS setup in a bad way
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from exarkun <[email protected]>: This test uses `ITLSTransport.startTLS` and then checks to see if it worked by looking for 'TLS' in the name of the class of the transport. Instead, it should check to see if the transport provides `ISSLTransport`. I came across this as part of #593, as the test failed because I didn't implement `startTLS` for iocpreactor in a way which caused 'TLS' to become part of the transport class name. ---------- Type : defect Component: mail Keywords : tests Priority : high Nosy : ---------- http://twistedmatrix.com/trac/ticket/3819