diff options
| author | J08nY | 2017-08-02 01:33:14 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-02 01:35:10 +0200 |
| commit | 27b6d62dc288b110fce2d80533cb6c6294370fde (patch) | |
| tree | f249f1ad030b07f578bdeb12ed84afda35dfa546 /src/mailman_pgp/commands/tests/test_key.py | |
| parent | 1ebd6a90ef52f1d2cea4467ebb0941d42938d283 (diff) | |
| download | mailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.tar.gz mailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.tar.zst mailman-pgp-27b6d62dc288b110fce2d80533cb6c6294370fde.zip | |
Diffstat (limited to 'src/mailman_pgp/commands/tests/test_key.py')
| -rw-r--r-- | src/mailman_pgp/commands/tests/test_key.py | 4 |
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') |
