Test cases for Ltwisted.mail.pop3} module.
| Class | UtilityTests | Test the various helper functions and classes used by the POP3 server protocol implementation. |
| Class | MyVirtualPOP3 | A virtual-domain-supporting POP3 server. |
| Class | DummyDomain | A virtual domain for a POP3 server. |
| Class | ListMailbox | A simple in-memory list implementation of IMailbox. |
| Class | MyPOP3Downloader | A POP3 client which downloads all messages from the server. |
| Class | POP3Tests | Tests for pop3.POP3. |
| Class | DummyPOP3 | A simple POP3 server with a hard-coded mailbox for any user. |
| Class | DummyPOP3Auth | Class to test successful authentication in twisted.mail.pop3.POP3. |
| Class | DummyMailbox | An in-memory pop3.IMailbox
implementation. |
| Class | AnotherPOP3Tests | Additional pop3.POP3 tests. |
| Class | TestServerFactory | No summary |
| Class | TestMailbox | An incomplete IMailbox implementation with certain per-user
values hard-coded and known by tests in this module. |
| Function | contained | Assert that the given capability is included in all of the capability sets. |
| Class | CapabilityTests | Tests for pop3.POP3's per-user
capability handling. |
| Class | GlobalCapabilitiesTests | Tests for pop3.POP3's global
capability handling. |
| Class | TestRealm | An IRealm
which knows about a single test account's mailbox. |
| Class | SASLTests | Tests for pop3.POP3's SASL
implementation. |
| Class | CommandMixin | Tests for all the commands a POP3 server is allowed to receive. |
| Class | IndexErrorCommandTests | Run all of the command tests against a mailbox which raises IndexError when an out of bounds request is made. This behavior will be deprecated shortly and then removed. |
| Class | ValueErrorCommandTests | No summary |
| Class | SyncDeferredMailbox | Mailbox which has a listMessages implementation which returns a Deferred which has already fired. |
| Class | IndexErrorSyncDeferredCommandTests | Run all of the IndexErrorCommandTests
tests with a synchronous-Deferred returning IMailbox implementation. |
| Class | ValueErrorSyncDeferredCommandTests | Run all of the ValueErrorCommandTests
tests with a synchronous-Deferred returning IMailbox implementation. |
| Class | AsyncDeferredMailbox | Mailbox which has a listMessages implementation which returns a Deferred which has not yet fired. |
| Class | IndexErrorAsyncDeferredCommandTests | Run all of the IndexErrorCommandTests
tests with an asynchronous-Deferred returning IMailbox implementation. |
| Class | ValueErrorAsyncDeferredCommandTests | Run all of the IndexErrorCommandTests
tests with an asynchronous-Deferred returning IMailbox implementation. |
| Class | POP3MiscTests | Miscellaneous tests more to do with module/package structure than anything to do with the Post Office Protocol. |
Assert that the given capability is included in all of the capability sets.
| Parameters | testcase | A unittest.TestCase
to use to make assertions. |
| s | The capability for which to check. (type: bytes) | |
| caps | The capability sets in which to check. (type: tuple
of iterable) |