diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/model/mailinglist.py | 2 | ||||
| -rw-r--r-- | src/mailman/queue/tests/test_outgoing.py | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/mailman/model/mailinglist.py b/src/mailman/model/mailinglist.py index 9294fe7cc..6952abcf0 100644 --- a/src/mailman/model/mailinglist.py +++ b/src/mailman/model/mailinglist.py @@ -195,7 +195,7 @@ class MailingList(Model): # For the pending database self.next_request_id = 1 self._restore() - self.personalization = Personalization.none + self.personalize = Personalization.none self.real_name = string.capwords( SPACE.join(listname.split(UNDERSCORE))) makedirs(self.data_path) diff --git a/src/mailman/queue/tests/test_outgoing.py b/src/mailman/queue/tests/test_outgoing.py index ad6c89f34..718fc4ba6 100644 --- a/src/mailman/queue/tests/test_outgoing.py +++ b/src/mailman/queue/tests/test_outgoing.py @@ -155,7 +155,7 @@ Message-Id: <first> self._runner.run() self.assertEqual(captured_msgdata['verp'], marker) - def test_personalized_deliveries_verp(self): + def test_personalized_individual_deliveries_verp(self): # When deliveries are personalized, and the configuration setting # indicates, messages will be VERP'd. msgdata = {} @@ -166,7 +166,11 @@ Message-Id: <first> verp_personalized_deliveries: yes """): self._runner.run() - ## self.assertTrue(msgdata['verp']) + self.assertTrue(captured_msgdata['verp']) + + def test_personalized_full_deliveries_verp(self): + # When deliveries are personalized, and the configuration setting + # indicates, messages will be VERP'd. msgdata = {} self._mlist.personalize = Personalization.full self._outq.enqueue(self._msg, msgdata, listname='test@example.com') @@ -175,7 +179,7 @@ Message-Id: <first> verp_personalized_deliveries: yes """): self._runner.run() - ## self.assertTrue(msgdata['verp']) + self.assertTrue(captured_msgdata['verp']) |
