aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/testing
diff options
context:
space:
mode:
authorJ08nY2017-07-07 18:44:08 +0200
committerJ08nY2017-07-07 18:44:08 +0200
commitfd226c656b9f300681a826a7c9d759ece05f28d5 (patch)
treeae94ed0b8e48436e39c823278279df3deee9448f /src/mailman_pgp/testing
parent0b18a7c76d82eef8ec3cf11dab29bf219aeb3035 (diff)
downloadmailman-pgp-fd226c656b9f300681a826a7c9d759ece05f28d5.tar.gz
mailman-pgp-fd226c656b9f300681a826a7c9d759ece05f28d5.tar.zst
mailman-pgp-fd226c656b9f300681a826a7c9d759ece05f28d5.zip
Diffstat (limited to 'src/mailman_pgp/testing')
-rw-r--r--src/mailman_pgp/testing/layers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman_pgp/testing/layers.py b/src/mailman_pgp/testing/layers.py
index 401f7a6..4cadd3a 100644
--- a/src/mailman_pgp/testing/layers.py
+++ b/src/mailman_pgp/testing/layers.py
@@ -39,6 +39,10 @@ def reset_pgp_world():
# and subclass both it and the respective Mailman Core test layer.
class PGPConfigLayer(ConfigLayer):
@classmethod
+ def setUp(cls):
+ config.set('keypairs', 'autogenerate', 'no')
+
+ @classmethod
def tearDown(cls):
reset_pgp_world()