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/pgp/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/pgp/tests')
| -rw-r--r-- | src/mailman_pgp/pgp/tests/test_keygen.py | 4 | ||||
| -rw-r--r-- | src/mailman_pgp/pgp/tests/test_pgp.py | 4 |
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): |
