summaryrefslogtreecommitdiff
path: root/src/mailman/app/tests/test_lifecycle.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved InvalidListNameError class definition to mailman.interfaces.mailinglist.Mark Sapiro2017-02-201-2/+2
| | | | | Added more documentation on config.mailman.listname_chars. Made a couple of minor tweaks.
* Updated rest/lists.py to handle list name error exceptions and addedMark Sapiro2017-02-191-1/+1
| | | | | | tests for for the exceptions. Enhanced the InvalidListNameError exception to return the invalid name.
* Replaced assertEqual with assertRegex to account for difference in errorMark Sapiro2017-02-191-5/+6
| | | | messages between python versions.
* Made the allowable list name characters configurable.Mark Sapiro2017-02-191-0/+23
|
* Implemented stricter listname validation.Mark Sapiro2017-02-191-1/+8
|
* Skip a test if run as root, as can happen with GL shared runnersBarry Warsaw2017-02-191-0/+1
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Import order flake8 plugin.Barry Warsaw2016-03-271-1/+1
| | | | Fix lots of import order errors discovered by the new plugin.
* First massive round of cleanups.Barry Warsaw2016-03-231-6/+0
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* More coverage.Barry Warsaw2015-12-291-0/+15
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-6/+4
| | | | | | | | | | | | | | * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* - Clean up and simplify remove_list()Barry Warsaw2014-03-021-1/+13
| | | | - Boost test coverage of lifecycle.py to 100%
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* LP: #975692 phase 1Barry Warsaw2012-12-281-0/+50
* Rework list style management. No more style priorities or matching.. Now, you name a style explicitly to apply and that's it. * create_list() now takes a `style` argument. * config file now names both a default style to use, and a set of paths to scan for IStyle instances. (This could be a model for other plugins.) * added IMailingList.style_name to record the last style applied, but this is going to be removed in subsequent revisions. Also: * Move find_components() and scan_module() from app/finder.py to utilities/modules.py * Cleaned up lifecycle.rst for better documentation. Some tests moved to test_lifecycle.py. * Remove some unnecessary test tearDown() code.