diff options
| author | Mark Sapiro | 2016-12-04 15:51:41 -0800 |
|---|---|---|
| committer | Mark Sapiro | 2016-12-04 15:51:41 -0800 |
| commit | 5b92dc47dd00da03111c17fa317328324ae677b8 (patch) | |
| tree | d95de29d46ac5d02b0322f6f792d1ac9590eb16b | |
| parent | b7eef6badf3fc6e6bd0534ca58647f0e8219e977 (diff) | |
| download | mailman-5b92dc47dd00da03111c17fa317328324ae677b8.tar.gz mailman-5b92dc47dd00da03111c17fa317328324ae677b8.tar.zst mailman-5b92dc47dd00da03111c17fa317328324ae677b8.zip | |
| -rw-r--r-- | src/mailman/app/tests/test_moderation.py | 2 | ||||
| -rw-r--r-- | src/mailman/app/tests/test_subscriptions.py | 2 | ||||
| -rw-r--r-- | src/mailman/chains/tests/test_hold.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/app/tests/test_moderation.py b/src/mailman/app/tests/test_moderation.py index bb3958cd7..9dfc012c7 100644 --- a/src/mailman/app/tests/test_moderation.py +++ b/src/mailman/app/tests/test_moderation.py @@ -178,7 +178,7 @@ class TestUnsubscription(unittest.TestCase): break else: raise AssertionError('No moderator email found') - self.assertEqual(item.msgdata['recipients'], {'bart@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 b960b7904..91354ef8a 100644 --- a/src/mailman/app/tests/test_subscriptions.py +++ b/src/mailman/app/tests/test_subscriptions.py @@ -451,7 +451,7 @@ class TestSubscriptionWorkflow(unittest.TestCase): break else: raise AssertionError('No moderator email found') - self.assertEqual(item.msgdata['recipients'], {'bart@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') diff --git a/src/mailman/chains/tests/test_hold.py b/src/mailman/chains/tests/test_hold.py index 6686c4777..02ca08932 100644 --- a/src/mailman/chains/tests/test_hold.py +++ b/src/mailman/chains/tests/test_hold.py @@ -173,8 +173,8 @@ A message body. # delivery to the moderators. items = get_queue_messages('virgin', expected_count=1) msgdata = items[0].msgdata - # Should get sent to moderators. - self.assertEqual(msgdata['recipients'], {'bart@example.com'}) + # Should get sent to -owner address. + self.assertEqual(msgdata['recipients'], {'test-owner@example.com'}) # Ensure that the subject looks correct in the postauth.txt. msg = items[0].msg value = None |
