diff options
| author | Barry Warsaw | 2014-11-08 10:14:00 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-08 10:14:00 -0500 |
| commit | 410b2fae5eaba2e4bb6c2ebdc86d99eab4effc56 (patch) | |
| tree | 754e4621eb24a9925bc3089461d65be518ae1160 /src/mailman/app/docs | |
| parent | 1d9f6970b9a26ee576838b53f485b96365e3a6c2 (diff) | |
| parent | 249607949d5eab11e63e52cbac65e8a68327d593 (diff) | |
| download | mailman-410b2fae5eaba2e4bb6c2ebdc86d99eab4effc56.tar.gz mailman-410b2fae5eaba2e4bb6c2ebdc86d99eab4effc56.tar.zst mailman-410b2fae5eaba2e4bb6c2ebdc86d99eab4effc56.zip | |
tox-ify the test suite. First, this makes it easier to run since you don't
have to manually set up the virtualenv. Second, it allows us to later create
a python3 environment for porting purposes.
Other change:
* The `mailman conf` command no longer takes the `-t/--sort` option; the
output is always sorted.
* The ``[database]migrations_path`` setting is removed.
* You no longer have to create a virtual environment separately when running
the test suite. Just use `tox`.
* The RFC 2369 headers added to outgoing messages are now added in sorted
order.
* The JSON representation `http_etag` key uses an algorithm that is
insensitive to Python's dictionary sort order.
Diffstat (limited to 'src/mailman/app/docs')
| -rw-r--r-- | src/mailman/app/docs/pipelines.rst | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mailman/app/docs/pipelines.rst b/src/mailman/app/docs/pipelines.rst index 5aaf7cf62..adcdd1ea5 100644 --- a/src/mailman/app/docs/pipelines.rst +++ b/src/mailman/app/docs/pipelines.rst @@ -13,6 +13,12 @@ no way to stop a pipeline from processing the message once it's started. default-posting-pipeline >>> from mailman.core.pipelines import process +For the purposes of these examples, we'll enable just one archiver. + + >>> from mailman.interfaces.mailinglist import IListArchiverSet + >>> for archiver in IListArchiverSet(mlist).archivers: + ... archiver.is_enabled = (archiver.name == 'mhonarc') + Processing a message ==================== @@ -43,14 +49,14 @@ etc. X-Mailman-Version: ... Precedence: list List-Id: <test.example.com> + Archived-At: http://lists.example.com/.../4CMWUN6BHVCMHMDAOSJZ2Q72G5M32MWB + List-Archive: <http://lists.example.com/archives/test@example.com> + List-Help: <mailto:test-request@example.com?subject=help> List-Post: <mailto:test@example.com> List-Subscribe: <http://lists.example.com/listinfo/test@example.com>, <mailto:test-join@example.com> - Archived-At: http://lists.example.com/.../4CMWUN6BHVCMHMDAOSJZ2Q72G5M32MWB List-Unsubscribe: <http://lists.example.com/listinfo/test@example.com>, <mailto:test-leave@example.com> - List-Archive: <http://lists.example.com/archives/test@example.com> - List-Help: <mailto:test-request@example.com?subject=help> <BLANKLINE> First post! <BLANKLINE> @@ -154,10 +160,3 @@ There's now one message in the digest mailbox, getting ready to be sent. <BLANKLINE> First post! <BLANKLINE> - - -.. Clean up the digests - >>> digest.clear() - >>> digest.flush() - >>> sum(1 for msg in digest_mbox(mlist)) - 0 |
