diff options
| author | J08nY | 2017-06-24 01:59:24 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-24 01:59:24 +0200 |
| commit | 52ab7fcef755d0adea8a23b5aa77e30119356ac1 (patch) | |
| tree | 14c9c03dcd8c598109ca73b7c6d7f4d7d1d43061 /src/mailman_pgp/pgp/tests | |
| parent | fc3791771047b44143868c6dc5f113e4f9157bf5 (diff) | |
| download | mailman-pgp-52ab7fcef755d0adea8a23b5aa77e30119356ac1.tar.gz mailman-pgp-52ab7fcef755d0adea8a23b5aa77e30119356ac1.tar.zst mailman-pgp-52ab7fcef755d0adea8a23b5aa77e30119356ac1.zip | |
Add skeleton of decryption handling.
Diffstat (limited to 'src/mailman_pgp/pgp/tests')
| -rw-r--r-- | src/mailman_pgp/pgp/tests/base.py | 4 | ||||
| -rw-r--r-- | src/mailman_pgp/pgp/tests/test_wrapper.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman_pgp/pgp/tests/base.py b/src/mailman_pgp/pgp/tests/base.py index d64116d..ccdf7dd 100644 --- a/src/mailman_pgp/pgp/tests/base.py +++ b/src/mailman_pgp/pgp/tests/base.py @@ -16,8 +16,8 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """""" -import unittest from email import message_from_file +from unittest import TestCase from pgpy import PGPKey from pkg_resources import resource_filename @@ -34,7 +34,7 @@ def load_key(path): return key -class WrapperTestCase(unittest.TestCase): +class WrapperTestCase(TestCase): wrapper = None def is_signed(self, message, signed): diff --git a/src/mailman_pgp/pgp/tests/test_wrapper.py b/src/mailman_pgp/pgp/tests/test_wrapper.py index c16152f..7cd5541 100644 --- a/src/mailman_pgp/pgp/tests/test_wrapper.py +++ b/src/mailman_pgp/pgp/tests/test_wrapper.py @@ -18,7 +18,7 @@ """Tests for the combined wrapper.""" from parameterized import parameterized -from mailman_pgp.pgp.tests.base import WrapperTestCase, load_message, load_key +from mailman_pgp.pgp.tests.base import load_key, load_message, WrapperTestCase from mailman_pgp.pgp.wrapper import PGPWrapper |
