aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/tests/test_inline.py
diff options
context:
space:
mode:
authorJ08nY2017-08-02 00:15:21 +0200
committerJ08nY2017-08-02 01:35:10 +0200
commitfa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc (patch)
tree5dee4554ab4b99fb2dd9b93f8e43a4978ad0d469 /src/mailman_pgp/pgp/tests/test_inline.py
parentdff7befbc5860f2f78f63ab694ef88d21a53771f (diff)
downloadmailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.tar.gz
mailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.tar.zst
mailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.zip
Diffstat (limited to 'src/mailman_pgp/pgp/tests/test_inline.py')
-rw-r--r--src/mailman_pgp/pgp/tests/test_inline.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mailman_pgp/pgp/tests/test_inline.py b/src/mailman_pgp/pgp/tests/test_inline.py
index b409bee..1f1f687 100644
--- a/src/mailman_pgp/pgp/tests/test_inline.py
+++ b/src/mailman_pgp/pgp/tests/test_inline.py
@@ -248,6 +248,17 @@ class TestRevocs(InlineWrapperTestCase):
def test_revocs(self, message, revocs):
self.revocs(message, revocs)
+ @parameterized.expand([
+ (load_message('clear.eml'),
+ [load_revoc('rsa_1024.revoc.asc'),
+ load_revoc('ecc_p256.revoc.asc')]),
+ (load_message('clear_multipart.eml'),
+ [load_revoc('rsa_1024.revoc.asc'),
+ load_revoc('ecc_p256.revoc.asc')])
+ ])
+ def test_attach_revocs(self, message, revocs):
+ self.attach_revocs(message, revocs)
+
class TestCombined(InlineWrapperTestCase):
@parameterized.expand([