summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/app/tests/test_moderation.py3
-rw-r--r--src/mailman/app/tests/test_subscriptions.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman/app/tests/test_moderation.py b/src/mailman/app/tests/test_moderation.py
index 9dfc012c7..90377bf72 100644
--- a/src/mailman/app/tests/test_moderation.py
+++ b/src/mailman/app/tests/test_moderation.py
@@ -178,7 +178,8 @@ class TestUnsubscription(unittest.TestCase):
break
else:
raise AssertionError('No moderator email found')
- self.assertEqual(item.msgdata['recipients'], {'test-owner@example.com'})
+ self.assertEqual(
+ item.msgdata['recipients'], {'test-owner@example.com'})
self.assertEqual(
item.msg['subject'],
'New unsubscription request from Test by anne@example.org')
diff --git a/src/mailman/app/tests/test_subscriptions.py b/src/mailman/app/tests/test_subscriptions.py
index 91354ef8a..0f4809fd5 100644
--- a/src/mailman/app/tests/test_subscriptions.py
+++ b/src/mailman/app/tests/test_subscriptions.py
@@ -451,7 +451,8 @@ class TestSubscriptionWorkflow(unittest.TestCase):
break
else:
raise AssertionError('No moderator email found')
- self.assertEqual(item.msgdata['recipients'], {'test-owner@example.com'})
+ self.assertEqual(
+ item.msgdata['recipients'], {'test-owner@example.com'})
message = items[0].msg
self.assertEqual(message['From'], 'test-owner@example.com')
self.assertEqual(message['To'], 'test-owner@example.com')