diff options
| author | Barry Warsaw | 2008-07-03 15:32:25 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-07-03 15:32:25 -0400 |
| commit | 408043ad8404798e9b8b93a1ee1cd81db897639c (patch) | |
| tree | 7002f8465007663a700d281aaed8cc701a50cabf /mailman/queue/docs/command.txt | |
| parent | ed752bbc1cb7731ce0eebb8cd7301d0322b9ef49 (diff) | |
| download | mailman-408043ad8404798e9b8b93a1ee1cd81db897639c.tar.gz mailman-408043ad8404798e9b8b93a1ee1cd81db897639c.tar.zst mailman-408043ad8404798e9b8b93a1ee1cd81db897639c.zip | |
Diffstat (limited to 'mailman/queue/docs/command.txt')
| -rw-r--r-- | mailman/queue/docs/command.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/queue/docs/command.txt b/mailman/queue/docs/command.txt index fdad3bb5c..c18e7a34c 100644 --- a/mailman/queue/docs/command.txt +++ b/mailman/queue/docs/command.txt @@ -28,7 +28,7 @@ sender. The command can be in the Subject header. >>> from mailman.inject import inject_message >>> inject_message(mlist, msg, qdir=config.CMDQUEUE_DIR) >>> from mailman.queue.command import CommandRunner - >>> from mailman.tests.helpers import make_testable_runner + >>> from mailman.testing.helpers import make_testable_runner >>> command = make_testable_runner(CommandRunner) >>> command.run() @@ -38,7 +38,7 @@ And now the response is in the virgin queue. >>> virgin_queue = Switchboard(config.VIRGINQUEUE_DIR) >>> len(virgin_queue.files) 1 - >>> from mailman.tests.helpers import get_queue_messages + >>> from mailman.testing.helpers import get_queue_messages >>> item = get_queue_messages(virgin_queue)[0] >>> print item.msg.as_string() Subject: The results of your email commands |
