summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-08-02 01:33:14 +0200
committerJ08nY2017-08-02 01:35:10 +0200
commit27b6d62dc288b110fce2d80533cb6c6294370fde (patch)
treef249f1ad030b07f578bdeb12ed84afda35dfa546
parent1ebd6a90ef52f1d2cea4467ebb0941d42938d283 (diff)
downloadmailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.tar.gz
mailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.tar.zst
mailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.zip
-rw-r--r--src/mailman_pgp/commands/tests/test_key.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman_pgp/commands/tests/test_key.py b/src/mailman_pgp/commands/tests/test_key.py
index 88b0bb4..0c7d7c7 100644
--- a/src/mailman_pgp/commands/tests/test_key.py
+++ b/src/mailman_pgp/commands/tests/test_key.py
@@ -278,7 +278,7 @@ class TestPreSubscription(unittest.TestCase):
set_message = _create_mixed('bart@example.com', 'test@example.com',
'Re: key set token')
wrapped_set_message = MIMEWrapper(set_message)
- set_message = wrapped_set_message.attach_key(self.unusable_key.pubkey)
+ set_message = wrapped_set_message.attach_keys(self.unusable_key.pubkey)
mm_config.switchboards['command'].enqueue(set_message,
listid='test.example.com')
@@ -858,7 +858,7 @@ class TestAfterSubscription(unittest.TestCase):
message = _create_mixed('bart@example.com', 'test@example.com',
'key change')
wrapped_message = MIMEWrapper(message)
- message = wrapped_message.attach_key(self.unusable_key.pubkey)
+ message = wrapped_message.attach_keys(self.unusable_key.pubkey)
mm_config.switchboards['command'].enqueue(message,
listid='test.example.com')