summaryrefslogtreecommitdiff
path: root/src/mailman/testing/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-08-17 20:29:05 -0400
committerBarry Warsaw2011-08-17 20:29:05 -0400
commit7f32fdd8e82542122909f322d2e35b55511c32de (patch)
tree07bf03299c755bf85cd53789137f874975082704 /src/mailman/testing/helpers.py
parentd5f143595e44497617bb0357e3c0213911619b35 (diff)
downloadmailman-7f32fdd8e82542122909f322d2e35b55511c32de.tar.gz
mailman-7f32fdd8e82542122909f322d2e35b55511c32de.tar.zst
mailman-7f32fdd8e82542122909f322d2e35b55511c32de.zip
Complete bug 827036 work.
* Add ListCreatingEvent and ListDeletingEvent. These are sent before the operation actually occurs, whereas the previously added ListCreatedEvent and ListDeletedEvent are sent after the operation. Specifically, this is necessary because request database deletion requires the IMailingList object, which is only available before the list is deleted. * Add a handler to clear out the requests database for a mailing list, when the mailing list is about to be deleted.
Diffstat (limited to 'src/mailman/testing/helpers.py')
-rw-r--r--src/mailman/testing/helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py
index 1a168dd0c..144ae1ffb 100644
--- a/src/mailman/testing/helpers.py
+++ b/src/mailman/testing/helpers.py
@@ -29,6 +29,7 @@ __all__ = [
'get_queue_messages',
'make_testable_runner',
'reset_the_world',
+ 'specialized_message_from_string',
'subscribe',
'wait_for_webservice',
]