summaryrefslogtreecommitdiff
path: root/src/mailman/runners/tests/test_pipeline.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-07-06 21:08:41 -0400
committerBarry Warsaw2012-07-06 21:08:41 -0400
commit8d8ab1655b51e277570005b445d3b014afcfbc57 (patch)
tree6ba0147d975636e129a787c9dfa64dae8cffae89 /src/mailman/runners/tests/test_pipeline.py
parentcd3f84b301c2150fea5402129a2e7bc862fbb52b (diff)
parent01415190ab44e69a8f09a6411564a7cb288404e8 (diff)
downloadmailman-8d8ab1655b51e277570005b445d3b014afcfbc57.tar.gz
mailman-8d8ab1655b51e277570005b445d3b014afcfbc57.tar.zst
mailman-8d8ab1655b51e277570005b445d3b014afcfbc57.zip
Diffstat (limited to 'src/mailman/runners/tests/test_pipeline.py')
-rw-r--r--src/mailman/runners/tests/test_pipeline.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mailman/runners/tests/test_pipeline.py b/src/mailman/runners/tests/test_pipeline.py
index 8776bf844..3f8f62ab0 100644
--- a/src/mailman/runners/tests/test_pipeline.py
+++ b/src/mailman/runners/tests/test_pipeline.py
@@ -27,7 +27,7 @@ __all__ = [
import unittest
-from zope.interface import implements
+from zope.interface import implementer
from mailman.app.lifecycle import create_list
from mailman.config import config
@@ -41,8 +41,10 @@ from mailman.testing.layers import ConfigLayer
+@implementer(IHandler)
class MyTestHandler:
- implements(IHandler)
+ """See `IHandler`."""
+
name = 'test handler'
description = 'A test handler'
@@ -54,8 +56,9 @@ class MyTestHandler:
self._test.mark(self._marker)
+
+@implementer(IPipeline)
class MyTestPipeline:
- implements(IPipeline)
name = 'test'
description = 'a test pipeline'