aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/pgp/tests')
-rw-r--r--src/mailman_pgp/pgp/tests/test_keygen.py4
-rw-r--r--src/mailman_pgp/pgp/tests/test_pgp.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman_pgp/pgp/tests/test_keygen.py b/src/mailman_pgp/pgp/tests/test_keygen.py
index 7de1a19..b3c6070 100644
--- a/src/mailman_pgp/pgp/tests/test_keygen.py
+++ b/src/mailman_pgp/pgp/tests/test_keygen.py
@@ -16,8 +16,8 @@
# this program. If not, see <http://www.gnu.org/licenses/>.
"""Test the out-of-process key generator."""
+import unittest
from os.path import exists, isfile
-from unittest import TestCase
from mailman.app.lifecycle import create_list
from parameterized import parameterized
@@ -31,7 +31,7 @@ from mailman_pgp.testing.layers import PGPConfigLayer
from mailman_pgp.utils.pgp import key_from_file
-class TestKeygen(TestCase):
+class TestKeygen(unittest.TestCase):
layer = PGPConfigLayer
def setUp(self):
diff --git a/src/mailman_pgp/pgp/tests/test_pgp.py b/src/mailman_pgp/pgp/tests/test_pgp.py
index 6ef531e..0acde58 100644
--- a/src/mailman_pgp/pgp/tests/test_pgp.py
+++ b/src/mailman_pgp/pgp/tests/test_pgp.py
@@ -16,7 +16,7 @@
# this program. If not, see <http://www.gnu.org/licenses/>.
"""Tests for the module global PGP instance."""
-from unittest import TestCase
+import unittest
from mailman.app.lifecycle import create_list
from mailman.testing.helpers import subscribe
@@ -30,7 +30,7 @@ from mailman_pgp.testing.layers import PGPConfigLayer
from mailman_pgp.testing.pgp import load_key
-class TestPGP(TestCase):
+class TestPGP(unittest.TestCase):
layer = PGPConfigLayer
def setUp(self):