summaryrefslogtreecommitdiff
path: root/mailman/testing/helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-248/+0
| | | | correctly regardless of how it's used.
* Several important cleanups.Barry Warsaw2009-01-161-0/+2
| | | | | | | | | | * 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.
* Picking some (py)lint.Barry Warsaw2009-01-041-3/+0
|
* Bump copyright yearsBarry Warsaw2009-01-011-1/+1
|
* More test repairs.Barry Warsaw2008-12-311-1/+2
| | | | | | | * 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
* Down to only 27 test failures.Barry Warsaw2008-12-261-10/+15
| | | | | | | | | More temporary config -> Defaults changes. More fixes to smtp_direct.py. Other queue runner fixes, including allowing make_testable_runner() to take an optional 'name' which overrides the default class-calculated name.
* Added a buildout hack for zope.testing so that we can add our own command lineBarry Warsaw2008-12-251-4/+3
| | | | | | | | | | 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-2/+7
| | | | | | | | | | | | | | 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.
* Lots of changes to make bin/withlist work under a buildout environment.Barry Warsaw2008-12-201-1/+1
| | | | | | | | | | mailman.configuration -> mailman.config.config mailman.initialize -> mailma.core.initialize mailman.loginit -> mailman.core.logging (yay future absolute imports!) Convert all configurations to lazr.config, though some legacy still remains, and I haven't been able to remove Defaults.py yet. Added as_boolean() and as_log_level() helpers for explicit type conversion. Added a schema.cfg.
* The future is now.Barry Warsaw2008-10-171-2/+0
|
* More clean up.Barry Warsaw2008-09-291-1/+1
| | | | | | - Remove Utils.reap() - Flesh out interfaces. - PEP 8 names.
* Upgrade to GPLv3.Barry Warsaw2008-09-241-12/+12
|
* Implement the basic Mail-Archive.com archiving algorithm.Barry Warsaw2008-07-051-1/+5
| | | | | Fix the start up of the SMTPServer to listen on a consistent port number. post_number -> post_id
* mailman.tests should contain only tests.Barry Warsaw2008-07-031-0/+237
mailman.testing should contain any support for running the tests.