aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/mta/tests/test_deliver.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/mta/tests/test_deliver.py')
-rw-r--r--src/mailman_pgp/mta/tests/test_deliver.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman_pgp/mta/tests/test_deliver.py b/src/mailman_pgp/mta/tests/test_deliver.py
index 3b0594f..3406d02 100644
--- a/src/mailman_pgp/mta/tests/test_deliver.py
+++ b/src/mailman_pgp/mta/tests/test_deliver.py
@@ -72,13 +72,15 @@ Some text.
""")
def test_deliver(self):
- msgdata = dict(recipients=['anne@example.org', 'bart@example.org'])
+ msgdata = dict(recipients=['anne@example.org', 'bart@example.org'],
+ pgp_is_posting=True)
deliver(self.mlist, self.msg, msgdata)
def test_deliver_no_key(self):
with transaction():
self.pgp_anne.key = None
- msgdata = dict(recipients=['anne@example.org', 'bart@example.org'])
+ msgdata = dict(recipients=['anne@example.org', 'bart@example.org'],
+ pgp_is_posting=True)
with self.assertRaises(SomeRecipientsFailed) as err:
deliver(self.mlist, self.msg, msgdata)
self.assertEqual(err.exception.temporary_failures,