aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/workflows/tests/test_mod_approval.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/workflows/tests/test_mod_approval.py')
-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):