summaryrefslogtreecommitdiff
path: root/mailman/testing/layers.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-204/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-161-4/+6
| | | | | | | | | | * Turn on absolute_import and unicode_literals everywhere, and deal with the aftermath. * Use 'except X as Y' everywhere. * Make the module prologues much more consistent. * Use '{}'.format() consistently, except for logger interface. * Because of the problems with calling ** args with unicode keywords, hide calls to Template.substitute() behind an API.
* Update some comments.Barry Warsaw2009-01-061-2/+1
|
* The conversion from Defaults.py to lazr.config is complete.Barry Warsaw2009-01-061-7/+3
| | | | | | | | | | | lazr.config 1.1 now has everything we need, so we don't need the special develop hack. make_instance is no longer necessary. Refactor the style stuff into their own directory. Finally! Move the delivery module into the mailman.mta package.
* Defaults module is mostly eradicated, converted to lazr.config. The testBarry Warsaw2009-01-051-4/+3
| | | | suite does not yet work though.
* Bump copyright yearsBarry Warsaw2009-01-011-1/+1
|
* All tests are now passing!Barry Warsaw2009-01-011-4/+12
|
* More test repairs.Barry Warsaw2008-12-311-4/+37
| | | | | | | * Move the lmtp configurations to lazr.config * Fixes to master.py * In qrunner.py, don't override initialize() * Make sure subprocesses get configured correctly during tests
* Many test fixes, mostly by temporarily changing config -> Defaults.Barry Warsaw2008-12-291-1/+11
| | | | | | | Rewrote start_qrunners() for new lazr.config based configuration. ReopenableFileHandler.reopen() given a default filename argument for reopening to a different file. Useful in tests.
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-1/+43
| | | | | | | | | | options to bin/test. More test repair, even though it's cheating. Use a bunch of variables from Defaults.py even though these will have to be moved to the schema.cfg. Update logging initialization to consult the propagate flag from the command line. Also skip mailman.root since this is not a valid logger.
* Use my lazr.config megamerge branch for now, even though it's still underBarry Warsaw2008-12-231-33/+9
| | | | | | | | | | | | | | development. Completely rework the way switchboards and queue runners are initialized, i.e. driven from the configuration file instead of hard coded. The various queue runner directories are no longer available thorugh the config object directly. Get them from config.switchboards. Provide minimal mailman.cfg and testing.cfg configuration files. Neuter styles for now until they can be consolidated with lazr.config.
* Convert more configuration variables to lazr.config.Barry Warsaw2008-12-221-0/+139
Add .push() and .pop() methods to the Configuration object. Put the 'config' object in the globals of doctests. Add some test layers for setting up the configuration and the SMTP server.