aboutsummaryrefslogtreecommitdiff
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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mailman_pgp/testing/layers.py b/src/mailman_pgp/testing/layers.py
index 07eb386..34f6b1a 100644
--- a/src/mailman_pgp/testing/layers.py
+++ b/src/mailman_pgp/testing/layers.py
@@ -18,7 +18,8 @@ import contextlib
import os
from os.path import isfile
-from mailman.testing.layers import (ConfigLayer, RESTLayer, SMTPLayer)
+from mailman.testing.layers import (ConfigLayer, RESTLayer, SMTPLayer,
+ MockAndMonkeyLayer)
from sqlalchemy.exc import SQLAlchemyError
from mailman_pgp.config import config
@@ -59,6 +60,9 @@ def reset_pgp_soft():
trans.commit()
+class PGPLayer:
+ pass
+
# 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.