aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/testing
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/testing')
-rw-r--r--src/mailman_pgp/testing/layers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman_pgp/testing/layers.py b/src/mailman_pgp/testing/layers.py
index d0d30d0..8ae2779 100644
--- a/src/mailman_pgp/testing/layers.py
+++ b/src/mailman_pgp/testing/layers.py
@@ -34,6 +34,9 @@ def reset_pgp_world():
Base.metadata.create_all(config.db.engine)
+# It's weird that ws have to do this, but for some reason nose2 test layers
+# don't work when ws create a mixin class with the two classmethods
+# and subclass both it and the respective Mailman Core test layer.
class PGPConfigLayer(ConfigLayer):
@classmethod
def tearDown(cls):