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/config | |
| parent | c21e5e0e2841e1d516ffe75717b10c09ef3489ba (diff) | |
| download | mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.gz mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.zst mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.zip | |
Diffstat (limited to 'src/mailman_pgp/config')
| -rw-r--r-- | src/mailman_pgp/config/tests/test_config.py | 6 | ||||
| -rw-r--r-- | src/mailman_pgp/config/tests/test_converter.py | 4 | ||||
| -rw-r--r-- | src/mailman_pgp/config/tests/test_validator.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/mailman_pgp/config/tests/test_config.py b/src/mailman_pgp/config/tests/test_config.py index d3ef9ea..74f4eb8 100644 --- a/src/mailman_pgp/config/tests/test_config.py +++ b/src/mailman_pgp/config/tests/test_config.py @@ -16,7 +16,7 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """""" -from unittest import TestCase +import unittest from pkg_resources import resource_filename, resource_string @@ -26,14 +26,14 @@ from mailman_pgp.config.validator import ConfigValidator from mailman_pgp.testing.layers import PGPConfigLayer, PGPLayer -class TestConfig(TestCase): +class TestConfig(unittest.TestCase): layer = PGPConfigLayer def test_name(self): self.assertEqual(config.name, 'pgp') -class TestConfigs(TestCase): +class TestConfigs(unittest.TestCase): layer = PGPLayer def setUp(self): diff --git a/src/mailman_pgp/config/tests/test_converter.py b/src/mailman_pgp/config/tests/test_converter.py index 842ccc4..551be16 100644 --- a/src/mailman_pgp/config/tests/test_converter.py +++ b/src/mailman_pgp/config/tests/test_converter.py @@ -16,14 +16,14 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """""" -from unittest import TestCase +import unittest from mailman_pgp.config.config import Config from mailman_pgp.config.converter import ConfigConverter from mailman_pgp.testing.layers import PGPLayer -class TestConverter(TestCase): +class TestConverter(unittest.TestCase): layer = PGPLayer def test_builtins(self): diff --git a/src/mailman_pgp/config/tests/test_validator.py b/src/mailman_pgp/config/tests/test_validator.py index 10beba6..56e9c54 100644 --- a/src/mailman_pgp/config/tests/test_validator.py +++ b/src/mailman_pgp/config/tests/test_validator.py @@ -16,14 +16,14 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """""" -from unittest import TestCase +import unittest from mailman_pgp.config.config import Config from mailman_pgp.config.validator import ConfigValidator from mailman_pgp.testing.layers import PGPLayer -class TestValidator(TestCase): +class TestValidator(unittest.TestCase): layer = PGPLayer def test_missing_section(self): |
