aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/testing
diff options
context:
space:
mode:
authorJ08nY2017-06-28 16:48:02 +0200
committerJ08nY2017-06-28 16:48:02 +0200
commit47eea2be6a86f81ba075df632305c1dfeecce50c (patch)
tree737dbbfe7f4b1902ee0c8ebfc5f61e23ecfe70ee /src/mailman_pgp/testing
parentbc548f544bd8ae4c46d72a684e822b3eaa6cfafd (diff)
downloadmailman-pgp-47eea2be6a86f81ba075df632305c1dfeecce50c.tar.gz
mailman-pgp-47eea2be6a86f81ba075df632305c1dfeecce50c.tar.zst
mailman-pgp-47eea2be6a86f81ba075df632305c1dfeecce50c.zip
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):