summaryrefslogtreecommitdiff
path: root/Mailman/testing/test_calc_recips.py
Commit message (Collapse)AuthorAgeFilesLines
* Simplify doctests by having just a single test_documentation.py module inBarry Warsaw2007-06-231-27/+0
| | | | | Mailman/testing. This introspects the Mailman/docs directory and adds DocFileSuites for all .txt files found there.
* Refactor tests to get consistent clean up behavior. The clean up sectionsBarry Warsaw2007-06-221-7/+2
| | | | | have been removed from the .txt files and instead added to the test harness, which all doctests now use.
* Convert the tests for the CalcRecips handler to doc tests. There areBarry Warsaw2007-06-191-0/+32
some XXX's in the doc test because digest recipients aren't tested (though those may go in a different doctest), and neither are urgent messages. This latter is for the same reason that the Approved handler is not yet tested; which password do you use in that header? The CalcRecips tests would also seem the natural place to test the receive_list_copy preference, but that actually gets processed in the AvoidDuplicates handler, so it isn't tested here. Add delivery_status (of type enum DeliveryStatus) to preferences. I'm not entirely sure that's the right place for it, but it lets me finish converting the test for now. Expose the rest of the preferences through the IMember interface.