summaryrefslogtreecommitdiff
path: root/tests/test_handlers.py
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize the unit test infrastructure, so that tests live inside thebwarsaw2006-05-181-1697/+0
| | | | | | | | | | | | | | | | | Mailman top level package. Rewrote the test runner and stuck it in bin (as an mmshell symlink). bin/testall now autodetects tests and allows running a subset of tests via regular expression filtering. I also fixed all the tests so they all pass now, with the exception of test_message.py tests. These still doesn't work because of coordination issues between its smtpd-based reader and SMTPDirect, but... I have a plan (mwah, ha, ha! :) I also fixed a code update bug in Decorate.py
* Remove most uses of the types module, in favor of isinstance checks againstbwarsaw2006-04-171-8/+8
| | | | | | the builtin types. Two still remain: a check against ClassType and a check against MethodType. Also, fix some hinky type comparisons to use isinstance() consistently.
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* Update a bunch of tests.bwarsaw2003-03-311-8/+6
|
* Move some tests (empty) to test_smtp.pybwarsaw2003-02-231-12/+1
|
* Update all testsbwarsaw2003-02-231-63/+32
|
* New tests for the content filtering MimeDel handler module.bwarsaw2002-04-141-7/+179
|
* Updates to what there is of the unit test suite. Lots of tests don'tbwarsaw2002-04-111-222/+21
| | | | | make sense any more, many needed changing, etc. I really should run these more often (and add to them!)
* test_implicit_sender_and_errors_to(): The sender is now the -bouncesbwarsaw2001-12-191-4/+8
| | | | | | | | | address instead of the -admin address. Update the test. test_list_headers(): Hack around for PUBLIC_ARCHIVE_URL. test_list_headers_with_description(): Remove a test that we do elsewhere and is just problematic to do here.
* TestHold: Get rid of tests for the old sender moderation variablesbwarsaw2001-10-201-108/+53
| | | | | (posters, member_only_posts, etc.). Added some tests for the new Reply-To: munging behavior.
* TestModerate: Add a placehold for a more comprehensive test of thisbwarsaw2001-10-151-0/+7
| | | | handler module.
* Fleshed out the ToDigest tests a little bit (still incomplete).bwarsaw2001-10-111-3/+78
|
* test_urgent_reject(): Test that a RejectMessage is raised, not abwarsaw2001-10-091-2/+112
| | | | | | RejectUrgentMessage. TestTagger: many tests of the Tagger handler.
* Don't set host_name and web_page_url in the individual tests, sincebwarsaw2001-10-051-26/+7
| | | | | | | | that's done in TestBase now. Also, comment out the assertions about received_time. Clock skew apparently makes this too unreliable (we could do an interval test, but it's not worth it).
* Many more unit tests, this time including a nearly complete coveragebwarsaw2001-10-011-0/+1648
of the Mailman.Handlers modules (some handlers are not yet tested but those that are are complete).