~dustin-spy/twisted/dustin

Viewing all changes in revision 15225.

  • Committer: exarkun
  • Date: 2009-05-05 19:08:17 UTC
  • Revision ID: vcs-imports@canonical.com-20090505190817-du6ylf9hxp7ly1ac
Merge better-tls-check-3819

Author: exarkun
Reviewer: therve
Fixes: #3819

Change the test for `IMAP4Client.startTLS` to check an interface provided by
the transport, rather than part of the name of the transport, in order to
verify that TLS has actually been started.  This allows it to pass correctly
when run against an alternate `ITLSTransport` implementation which does not
play tricks with the transport's class, and is generally better since
it is checking something which could actually be a public API.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: