diff options
| author | J08nY | 2017-08-23 20:12:10 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-23 20:12:10 +0200 |
| commit | a0997fb8e5893fed2c2275ff0cfbfa892b261601 (patch) | |
| tree | 926f093cbe087a8c7f69705f159fe85ff8799caa /src/mailman_pgp/archivers/tests | |
| parent | 43cc9d3e2c76c82bd00ce46ee7de6d69d07f3bb3 (diff) | |
| download | mailman-pgp-a0997fb8e5893fed2c2275ff0cfbfa892b261601.tar.gz mailman-pgp-a0997fb8e5893fed2c2275ff0cfbfa892b261601.tar.zst mailman-pgp-a0997fb8e5893fed2c2275ff0cfbfa892b261601.zip | |
Diffstat (limited to 'src/mailman_pgp/archivers/tests')
| -rw-r--r-- | src/mailman_pgp/archivers/tests/test_maildir.py | 2 | ||||
| -rw-r--r-- | src/mailman_pgp/archivers/tests/test_mbox.py | 2 |
2 files changed, 2 insertions, 2 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()) diff --git a/src/mailman_pgp/archivers/tests/test_mbox.py b/src/mailman_pgp/archivers/tests/test_mbox.py index 8af2b77..f660344 100644 --- a/src/mailman_pgp/archivers/tests/test_mbox.py +++ b/src/mailman_pgp/archivers/tests/test_mbox.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()) |
