summaryrefslogtreecommitdiff
path: root/src/mailman/runners
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/runners')
-rw-r--r--src/mailman/runners/tests/test_bounce.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mailman/runners/tests/test_bounce.py b/src/mailman/runners/tests/test_bounce.py
index 5c21000bf..54bbdba4f 100644
--- a/src/mailman/runners/tests/test_bounce.py
+++ b/src/mailman/runners/tests/test_bounce.py
@@ -243,15 +243,11 @@ class TestStyle:
"""See `IStyle`."""
name = 'test'
- priority = 10
def apply(self, mailing_list):
"""See `IStyle`."""
mailing_list.preferred_language = 'en'
- def match(self, mailing_list, styles):
- styles.append(self)
-
class TestBounceRunnerBug876774(unittest.TestCase):
@@ -271,7 +267,7 @@ class TestBounceRunnerBug876774(unittest.TestCase):
self._style_manager = getUtility(IStyleManager)
self._style_manager.register(self._style)
# Now we can create the mailing list.
- self._mlist = create_list('test@example.com')
+ self._mlist = create_list('test@example.com', style_name='test')
self._bounceq = config.switchboards['bounces']
self._processor = getUtility(IBounceProcessor)
self._runner = make_testable_runner(BounceRunner, 'bounces')