aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/utils/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/utils/tests')
-rw-r--r--src/mailman_pgp/utils/tests/test_pgp.py6
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}))