aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/tests/test_inline.py
diff options
context:
space:
mode:
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([