def testSSLTransportConsideredSecure(self):
        p, t = setUp(greet=False)
        directlyProvides(t, interfaces.ISSLTransport)
        p.dataReceived("+OK Howdy\r\n")
        d = p.login("username", "password")
        self.assertEqual(t.value(), "USER username\r\n")
        t.clear()
        p.dataReceived("+OK\r\n")
        self.assertEqual(t.value(), "PASS password\r\n")
        p.dataReceived("+OK\r\n")
        return d
If a server doesn't offer APOP but the transport is secured using
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/mail/test/test_pop3client.py/POP3ClientLoginTestCase.testSSLTransportConsideredSecure