aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/tests/test_wrapper.py
diff options
context:
space:
mode:
authorJ08nY2017-08-23 20:12:10 +0200
committerJ08nY2017-08-23 20:12:10 +0200
commita0997fb8e5893fed2c2275ff0cfbfa892b261601 (patch)
tree926f093cbe087a8c7f69705f159fe85ff8799caa /src/mailman_pgp/pgp/tests/test_wrapper.py
parent43cc9d3e2c76c82bd00ce46ee7de6d69d07f3bb3 (diff)
downloadmailman-pgp-feature/wrappers-modify.tar.gz
mailman-pgp-feature/wrappers-modify.tar.zst
mailman-pgp-feature/wrappers-modify.zip
Diffstat (limited to 'src/mailman_pgp/pgp/tests/test_wrapper.py')
-rw-r--r--src/mailman_pgp/pgp/tests/test_wrapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman_pgp/pgp/tests/test_wrapper.py b/src/mailman_pgp/pgp/tests/test_wrapper.py
index b9c157a..b49eece 100644
--- a/src/mailman_pgp/pgp/tests/test_wrapper.py
+++ b/src/mailman_pgp/pgp/tests/test_wrapper.py
@@ -242,5 +242,5 @@ class TestPGPWrapper(PGPWrapperTestCase):
def test_defaults(self):
PGPWrapper(self.msg)
for wrap_class in (InlineWrapper, MIMEWrapper, MIMEMultiSigWrapper):
- PGPWrapper(self.msg, wrap_class)
- self.assertRaises(ValueError, PGPWrapper, self.msg, 'Not a class')
+ PGPWrapper(self.msg, default=wrap_class)
+ self.assertRaises(ValueError, PGPWrapper, self.msg, default='Not a class')