summaryrefslogtreecommitdiff
path: root/src/mailman_pgp/testing/layers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/testing/layers.py')
-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()