aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/workflows
diff options
context:
space:
mode:
authorJ08nY2017-07-18 15:25:43 +0200
committerJ08nY2017-07-18 15:25:43 +0200
commit23db01a1762c056a75c94d44177462dea0a383a1 (patch)
tree8c35bf21719e5596271afb8bdfd201ac18ab38c8 /src/mailman_pgp/workflows
parent33e8fe52ea3dea2afe57af996df3d67dced344f4 (diff)
downloadmailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.tar.gz
mailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.tar.zst
mailman-pgp-23db01a1762c056a75c94d44177462dea0a383a1.zip
Diffstat (limited to 'src/mailman_pgp/workflows')
-rw-r--r--src/mailman_pgp/workflows/tests/test_base.py5
-rw-r--r--src/mailman_pgp/workflows/tests/test_key_change.py2
-rw-r--r--src/mailman_pgp/workflows/tests/test_subscription.py2
3 files changed, 0 insertions, 9 deletions
diff --git a/src/mailman_pgp/workflows/tests/test_base.py b/src/mailman_pgp/workflows/tests/test_base.py
index 15ed833..109ece2 100644
--- a/src/mailman_pgp/workflows/tests/test_base.py
+++ b/src/mailman_pgp/workflows/tests/test_base.py
@@ -27,7 +27,6 @@ from mailman.interfaces.usermanager import IUserManager
from mailman.interfaces.workflows import IWorkflow
from mailman.testing.helpers import get_queue_messages
from mailman.workflows.common import SubscriptionBase
-from public import public
from zope.component import getUtility
from zope.interface import implementer
@@ -89,7 +88,6 @@ class PGPTestWorkflow(SubscriptionBase, PGPMixin, SetPubkeyMixin,
self.push('sanity_checks')
-@public
class TestPGPMixin(PubkeyMixinTestSetup, unittest.TestCase):
layer = PGPConfigLayer
@@ -109,7 +107,6 @@ class TestPGPMixin(PubkeyMixinTestSetup, unittest.TestCase):
self.assertIsNotNone(still)
-@public
class TestSetPubkeyMixin(PubkeyMixinTestSetup, unittest.TestCase):
layer = PGPConfigLayer
@@ -156,7 +153,6 @@ class TestSetPubkeyMixin(PubkeyMixinTestSetup, unittest.TestCase):
self.sender_key.fingerprint)
-@public
class TestConfirmPubkeyMixin(PubkeyMixinTestSetup, unittest.TestCase):
layer = PGPConfigLayer
@@ -197,7 +193,6 @@ class TestConfirmPubkeyMixin(PubkeyMixinTestSetup, unittest.TestCase):
step.assert_called_once_with()
-@public
class TestBothPubkeyMixins(PubkeyMixinTestSetup, unittest.TestCase):
layer = PGPConfigLayer
diff --git a/src/mailman_pgp/workflows/tests/test_key_change.py b/src/mailman_pgp/workflows/tests/test_key_change.py
index 5d61efd..8efeb58 100644
--- a/src/mailman_pgp/workflows/tests/test_key_change.py
+++ b/src/mailman_pgp/workflows/tests/test_key_change.py
@@ -23,7 +23,6 @@ from mailman.app.lifecycle import create_list
from mailman.interfaces.subscriptions import ISubscriptionManager, TokenOwner
from mailman.interfaces.usermanager import IUserManager
from mailman.testing.helpers import get_queue_messages
-from public import public
from zope.component import getUtility
from mailman_pgp.database import mm_transaction, transaction
@@ -35,7 +34,6 @@ from mailman_pgp.testing.layers import PGPConfigLayer
from mailman_pgp.workflows.key_change import KeyChangeWorkflow
-@public
class TestKeyChangeWorkflow(unittest.TestCase):
layer = PGPConfigLayer
diff --git a/src/mailman_pgp/workflows/tests/test_subscription.py b/src/mailman_pgp/workflows/tests/test_subscription.py
index f9fa1e1..9464a83 100644
--- a/src/mailman_pgp/workflows/tests/test_subscription.py
+++ b/src/mailman_pgp/workflows/tests/test_subscription.py
@@ -20,7 +20,6 @@ import unittest
from mailman.app.lifecycle import create_list
from mailman.interfaces.usermanager import IUserManager
-from public import public
from zope.component import getUtility
from mailman_pgp.database import mm_transaction
@@ -30,7 +29,6 @@ from mailman_pgp.workflows.subscription import (
ModerationSubscriptionPolicy, OpenSubscriptionPolicy)
-@public
class TestSubscriptionWorkflows(unittest.TestCase):
layer = PGPConfigLayer