diff options
| author | J08nY | 2017-07-11 15:13:15 +0200 |
|---|---|---|
| committer | J08nY | 2017-07-11 15:13:15 +0200 |
| commit | 288d5c07825f67e6fd92e93fc3d8369310e268d1 (patch) | |
| tree | c16c0cec577689e7a7c840a09e90cfc0308688c9 /src/mailman_pgp/workflows/tests | |
| parent | 383ce5f4cc6cb81f91f90f3408742c4c06bca301 (diff) | |
| download | mailman-pgp-288d5c07825f67e6fd92e93fc3d8369310e268d1.tar.gz mailman-pgp-288d5c07825f67e6fd92e93fc3d8369310e268d1.tar.zst mailman-pgp-288d5c07825f67e6fd92e93fc3d8369310e268d1.zip | |
Diffstat (limited to 'src/mailman_pgp/workflows/tests')
| -rw-r--r-- | src/mailman_pgp/workflows/tests/test_subscription.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mailman_pgp/workflows/tests/test_subscription.py b/src/mailman_pgp/workflows/tests/test_subscription.py index f8a67f3..9464a83 100644 --- a/src/mailman_pgp/workflows/tests/test_subscription.py +++ b/src/mailman_pgp/workflows/tests/test_subscription.py @@ -26,7 +26,7 @@ from mailman_pgp.database import mm_transaction from mailman_pgp.testing.layers import PGPConfigLayer from mailman_pgp.workflows.subscription import ( ConfirmModerationSubscriptionPolicy, ConfirmSubscriptionPolicy, - ModerationSubscriptionPolicy) + ModerationSubscriptionPolicy, OpenSubscriptionPolicy) class TestSubscriptionWorkflows(unittest.TestCase): @@ -39,6 +39,10 @@ class TestSubscriptionWorkflows(unittest.TestCase): self.sender = getUtility(IUserManager).create_address( 'rsa-1024b@example.org') + def test_open_policy(self): + workflow = OpenSubscriptionPolicy(self.mlist, self.sender) + next(workflow) + def test_confirm_policy(self): workflow = ConfirmSubscriptionPolicy(self.mlist, self.sender) next(workflow) |
