aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/workflows/tests
diff options
context:
space:
mode:
authorJ08nY2017-08-21 21:25:25 +0200
committerJ08nY2017-08-21 21:25:25 +0200
commit28b35f7b5cac0a3d2950bdc8077f5223dd6318c3 (patch)
tree481c3cb8e2293facb91e7fee4be2db5dabd1214c /src/mailman_pgp/workflows/tests
parentc21e5e0e2841e1d516ffe75717b10c09ef3489ba (diff)
downloadmailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.gz
mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.zst
mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.zip
Cleanup test imports.
Diffstat (limited to 'src/mailman_pgp/workflows/tests')
-rw-r--r--src/mailman_pgp/workflows/tests/test_mod_approval.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman_pgp/workflows/tests/test_mod_approval.py b/src/mailman_pgp/workflows/tests/test_mod_approval.py
index 7d57a9b..cab2eb1 100644
--- a/src/mailman_pgp/workflows/tests/test_mod_approval.py
+++ b/src/mailman_pgp/workflows/tests/test_mod_approval.py
@@ -16,7 +16,8 @@
# 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.interfaces.subscriptions import TokenOwner
@@ -52,7 +53,7 @@ class PGPTestWorkflow(KeyChangeBase, ModeratorKeyChangeApprovalMixin):
ModeratorKeyChangeApprovalMixin.__init__(self, pre_approved)
-class TestModeratorApprovalMixin(TestCase):
+class TestModeratorApprovalMixin(unittest.TestCase):
layer = PGPConfigLayer
def setUp(self):