aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/archivers/tests/test_maildir.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/archivers/tests/test_maildir.py')
-rw-r--r--src/mailman_pgp/archivers/tests/test_maildir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman_pgp/archivers/tests/test_maildir.py b/src/mailman_pgp/archivers/tests/test_maildir.py
index 876b2c9..b12d383 100644
--- a/src/mailman_pgp/archivers/tests/test_maildir.py
+++ b/src/mailman_pgp/archivers/tests/test_maildir.py
@@ -82,5 +82,5 @@ but the water deserves to be swum.
message = messages[0]
wrapped = MIMEWrapper(message)
self.assertTrue(wrapped.is_encrypted())
- decrypted = wrapped.decrypt(self.list_key)
+ decrypted = wrapped.decrypt(self.list_key).msg
self.assertTrue(self.msg.as_string(), decrypted.as_string())