forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imap4.IMAP4Server: test missing portal and use base class' auth.
twisted.mail.test.test_imap.SimpleServer's theAccount is now always a class variable, and TestRealm can now retrieve it from SimpleServer on each requestAvatar invocation. This allows the removal of SimpleServer.authenticateLogin, so that tests can exercise IMAP4Server.authenticateLogin directly. This also tests what happens upon receipt of LOGIN without a portal.
- Loading branch information
1 parent
efebb61
commit ab94a2a
Showing
1 changed file
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters