summaryrefslogtreecommitdiff
path: root/src/mailman/model/tests/test_subscriptions.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Tweaks and clean up.Barry Warsaw2016-04-291-0/+32
| | | | | | | | * Add NEWS entry. * De-duplicate emails in the sequence passed to the model's ISubscriptionService.unsubscribe_members() method. * Modify the semantics of the DELETE method to return a mapping of addresses to boolean status.
* Tweak for landing.Barry Warsaw2016-04-251-39/+57
| | | | | | * Add NEWS. * Add more comments. * Minor changes to test code style.
* Cover two more corner casesAurélien Bompard2016-04-261-0/+43
|
* Fix difference between iter and count in find_membersAurélien Bompard2016-04-261-4/+27
| | | | | | | In `SubscriptionService._find_members()`, only select preferred addresses. Fixes #227
* Add NEWS, tweak an interface, and rewrite a unit test.Barry Warsaw2016-04-181-111/+147
|
* Extend ISubscriptionService interface.Harshit Bansal2016-04-181-0/+121
| | | | | | Add documentation. Extend ISubscriptionService interface.
* Clean up the model and languages directories.Barry Warsaw2016-03-251-5/+0
|
* Add a set_preferred() helper.Barry Warsaw2016-02-061-22/+8
| | | | | This refactors the setting of a user's preferred address to the first in their list of linked addresses.
* Several optimizations:Barry Warsaw2016-01-111-1/+1
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Refactor some tests and documentation.Barry Warsaw2016-01-071-0/+260
Increase coverage. Add ISubscriptionService.find_member() as per discussion.