summaryrefslogtreecommitdiff
path: root/mailman/bin/testall.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-07-09 22:35:44 -0400
committerBarry Warsaw2008-07-09 22:35:44 -0400
commit82de03b4699cb9e841f4196ff7c92e043056d3e3 (patch)
tree06ffed62dc4ffb55ef1036f02268dee5a0aa6847 /mailman/bin/testall.py
parent3929c688da2b275a1bb965152cca8a7352557ffc (diff)
downloadmailman-82de03b4699cb9e841f4196ff7c92e043056d3e3.tar.gz
mailman-82de03b4699cb9e841f4196ff7c92e043056d3e3.tar.zst
mailman-82de03b4699cb9e841f4196ff7c92e043056d3e3.zip
Add rough support for a local MHonArc archiver, using the permalink proposal
from the prototype archiver. Add a mailman.archiver log.
Diffstat (limited to 'mailman/bin/testall.py')
-rw-r--r--mailman/bin/testall.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mailman/bin/testall.py b/mailman/bin/testall.py
index 880130172..ed90980ae 100644
--- a/mailman/bin/testall.py
+++ b/mailman/bin/testall.py
@@ -31,6 +31,7 @@ import tempfile
import unittest
import pkg_resources
+from mailman import Defaults
from mailman.configuration import config
from mailman.i18n import _
from mailman.initialize import initialize_1, initialize_2
@@ -232,6 +233,9 @@ def main():
print >> fp, 'MAILMAN_GID =', group_id
print >> fp, "LANGUAGES = 'en'"
print >> fp, 'SMTPPORT =', SMTPServer.port
+ # A fake MHonArc command, for testing.
+ print >> fp, 'MHONARC_COMMAND = """/bin/echo', \
+ Defaults.MHONARC_COMMAND, '"""'
initialize_1(cfg_out, propagate_logs=parser.options.stderr)
mailman_uid = pwd.getpwnam(config.MAILMAN_USER).pw_uid