diff options
| author | J08nY | 2017-08-21 21:25:25 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-21 21:25:25 +0200 |
| commit | 28b35f7b5cac0a3d2950bdc8077f5223dd6318c3 (patch) | |
| tree | 481c3cb8e2293facb91e7fee4be2db5dabd1214c /src/mailman_pgp/utils/tests | |
| parent | c21e5e0e2841e1d516ffe75717b10c09ef3489ba (diff) | |
| download | mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.gz mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.zst mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.zip | |
Cleanup test imports.
Diffstat (limited to 'src/mailman_pgp/utils/tests')
| -rw-r--r-- | src/mailman_pgp/utils/tests/test_pgp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman_pgp/utils/tests/test_pgp.py b/src/mailman_pgp/utils/tests/test_pgp.py index 26b1be9..679e8bc 100644 --- a/src/mailman_pgp/utils/tests/test_pgp.py +++ b/src/mailman_pgp/utils/tests/test_pgp.py @@ -18,7 +18,7 @@ """""" import datetime import time -from unittest import TestCase +import unittest from parameterized import parameterized from pgpy import PGPKey, PGPUID @@ -31,7 +31,7 @@ from mailman_pgp.testing.pgp import load_blob, load_key from mailman_pgp.utils.pgp import key_usable, revoc_from_blob -class TestPGPUtils(TestCase): +class TestPGPUtils(unittest.TestCase): layer = PGPLayer @parameterized.expand([ @@ -99,4 +99,4 @@ class TestPGPUtils(TestCase): sub |= rsig self.assertFalse( - key_usable(key.pubkey, {KeyFlags.EncryptCommunications})) + key_usable(key.pubkey, {KeyFlags.EncryptCommunications})) |
