summaryrefslogtreecommitdiff
path: root/src/mailman/testing/layers.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* The test suite has to be able to inhibit the loading of any configurationBarry Warsaw2009-12-131-1/+2
| | | | files.
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-081-1/+1
| | | | | | | | * Give IMailingList a .domain attribute which looks up the IDomain for its .host_name. This cleans up a lot of code. * Add a test for the 'confirm' email command. * Suppress blank lines in email command responses. * Make the IDomainCollection a utility.
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-1/+1
| | | | package.
* Fix all tests except outgoing.txt and common.txtBarry Warsaw2009-11-021-1/+1
|
* Show that a max_sessions_per_connection == 0 means there's an unlimited numberBarry Warsaw2009-10-181-2/+2
| | | | of sessions per connection (or at least 10 <wink>).
* Infrastructure for testing the Connection class, and for counting the numberBarry Warsaw2009-10-181-16/+2
| | | | of session start and end events in the server.
* Use lazr.smtptest instead of our own SMTPServer and test SMTPd.Barry Warsaw2009-10-151-2/+19
| | | | | Update the lazr.restful IWebServiceConfiguration implementation to include the new hop_by_hop_headers attribute, by way of BaseWSGIWebServiceConfiguration.
* Replace the message_store instance on the database with an IMessageStoreBarry Warsaw2009-08-261-2/+5
| | | | utility.
* Wow. Put domains into the database.Barry Warsaw2009-07-161-1/+6
| | | | | | | | Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
* Clean a few more lints.Barry Warsaw2009-07-101-4/+20
| | | | | | | | | | | | | | Add get_mailing_lists() which is used just for the web interface. Because of a bug in lazr.restful, this cannot be a generator. Similar change in IDomainSet. Instrument IListManager to be vended through the api. The REST server must be run in a separate process since SQLite does not like objects created in one thread to be used in another thread. Note that this breaks the domain.txt test, but domains really need to be in the database anyway.
* Allow for setting the doctest layer in the doctest package's __init__. If notBarry Warsaw2009-05-271-0/+21
| | | | given, then SMTPLayer is used by default.
* Add a "mock and monkey" layer to set up testing infrastructure, e.g. forBarry Warsaw2009-02-171-1/+20
| | | | | | | | | | predictable dates and times. Fill out the autorespond.txt test to show that when the date flips over, the response counts reset. Add a date/time factory which we should use rather than the built-in datetime for now() and today() so that they can be appropriately tested.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+204
correctly regardless of how it's used.