diff options
Diffstat (limited to 'src/mailman_pgp/rules/tests')
| -rw-r--r-- | src/mailman_pgp/rules/tests/test_encryption.py | 4 | ||||
| -rw-r--r-- | src/mailman_pgp/rules/tests/test_signature.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman_pgp/rules/tests/test_encryption.py b/src/mailman_pgp/rules/tests/test_encryption.py index eaa4898..001f80a 100644 --- a/src/mailman_pgp/rules/tests/test_encryption.py +++ b/src/mailman_pgp/rules/tests/test_encryption.py @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License along with # this program. If not, see <http://www.gnu.org/licenses/>. -from unittest import TestCase +import unittest from mailman.app.lifecycle import create_list from mailman.testing.helpers import specialized_message_from_string as mfs @@ -25,7 +25,7 @@ from mailman_pgp.rules.encryption import Encryption from mailman_pgp.testing.layers import PGPConfigLayer -class TestPGPEncryptionRule(TestCase): +class TestPGPEncryptionRule(unittest.TestCase): layer = PGPConfigLayer def setUp(self): diff --git a/src/mailman_pgp/rules/tests/test_signature.py b/src/mailman_pgp/rules/tests/test_signature.py index 73dbb6c..827b187 100644 --- a/src/mailman_pgp/rules/tests/test_signature.py +++ b/src/mailman_pgp/rules/tests/test_signature.py @@ -17,8 +17,8 @@ """""" import time +import unittest from datetime import timedelta -from unittest import TestCase from mailman.app.lifecycle import create_list from mailman.email.message import Message @@ -47,7 +47,7 @@ from mailman_pgp.testing.pgp import load_key, load_message from mailman_pgp.utils.pgp import hashes -class TestPGPSignatureRule(TestCase): +class TestPGPSignatureRule(unittest.TestCase): layer = PGPConfigLayer def setUp(self): @@ -264,7 +264,7 @@ To: test@example.com self.assertAction(msgdata, Action.hold, ['Signature duplicate.']) -class TestPostingEvent(TestCase): +class TestPostingEvent(unittest.TestCase): layer = PGPConfigLayer def setUp(self): |
