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/pgp/tests/test_wrapper.py | |
| parent | 43cc9d3e2c76c82bd00ce46ee7de6d69d07f3bb3 (diff) | |
| download | mailman-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.py | 4 |
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') |
