diff options
| author | Barry Warsaw | 2012-03-07 15:45:09 -0800 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-07 15:45:09 -0800 |
| commit | eb41bebb04cb8158d46d130ba63ca2044f2ccbb1 (patch) | |
| tree | 05a0ac5a50bcdf9074b8e3ae50a86aa704eda33a /src/mailman/core | |
| parent | 4ca5055eea7c521e620de8ceeff6fa538b7a0c0b (diff) | |
| download | mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.tar.gz mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.tar.zst mailman-eb41bebb04cb8158d46d130ba63ca2044f2ccbb1.zip | |
Diffstat (limited to 'src/mailman/core')
| -rw-r--r-- | src/mailman/core/chains.py | 2 | ||||
| -rw-r--r-- | src/mailman/core/pipelines.py | 2 | ||||
| -rw-r--r-- | src/mailman/core/tests/test_pipelines.py | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/mailman/core/chains.py b/src/mailman/core/chains.py index 1dbb8429b..61807a6c0 100644 --- a/src/mailman/core/chains.py +++ b/src/mailman/core/chains.py @@ -35,7 +35,7 @@ from mailman.interfaces.chain import LinkAction, IChain -def process(mlist, msg, msgdata, start_chain='built-in'): +def process(mlist, msg, msgdata, start_chain='default-posting-chain'): """Process the message through a chain. :param mlist: the IMailingList for this message. diff --git a/src/mailman/core/pipelines.py b/src/mailman/core/pipelines.py index 4e5b1b99e..bd709f41e 100644 --- a/src/mailman/core/pipelines.py +++ b/src/mailman/core/pipelines.py @@ -79,7 +79,7 @@ class BasePipeline: class BuiltInPipeline(BasePipeline): """The built-in pipeline.""" - name = 'built-in' + name = 'default-posting-pipeline' description = _('The built-in pipeline.') _default_handlers = ( diff --git a/src/mailman/core/tests/test_pipelines.py b/src/mailman/core/tests/test_pipelines.py index 4bf552750..363587d3b 100644 --- a/src/mailman/core/tests/test_pipelines.py +++ b/src/mailman/core/tests/test_pipelines.py @@ -37,7 +37,7 @@ from mailman.testing.layers import ConfigLayer class TestBuiltinPipeline(unittest.TestCase): - """Test various aspects of the built-in pipeline.""" + """Test various aspects of the built-in postings pipeline.""" layer = ConfigLayer @@ -57,6 +57,7 @@ Subject: a test testing """) msgdata = {} - process(self._mlist, msg, msgdata, pipeline_name='built-in') + process(self._mlist, msg, msgdata, + pipeline_name='default-posting-pipeline') self.assertEqual(msg['list-id'], '<test.example.com>') self.assertEqual(msg['list-post'], '<mailto:test@example.com>') |
