aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/tests/test_plugin.py
diff options
context:
space:
mode:
authorJ08nY2017-08-21 21:25:25 +0200
committerJ08nY2017-08-21 21:25:25 +0200
commit28b35f7b5cac0a3d2950bdc8077f5223dd6318c3 (patch)
tree481c3cb8e2293facb91e7fee4be2db5dabd1214c /src/mailman_pgp/tests/test_plugin.py
parentc21e5e0e2841e1d516ffe75717b10c09ef3489ba (diff)
downloadmailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.gz
mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.tar.zst
mailman-pgp-28b35f7b5cac0a3d2950bdc8077f5223dd6318c3.zip
Diffstat (limited to 'src/mailman_pgp/tests/test_plugin.py')
-rw-r--r--src/mailman_pgp/tests/test_plugin.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman_pgp/tests/test_plugin.py b/src/mailman_pgp/tests/test_plugin.py
index c216226..99ec110 100644
--- a/src/mailman_pgp/tests/test_plugin.py
+++ b/src/mailman_pgp/tests/test_plugin.py
@@ -15,18 +15,18 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
-from unittest import TestCase
-from mailman.config import config as mailman_config
+import unittest
+from mailman_pgp.config import mm_config
from mailman_pgp.plugin import PGPMailman
from mailman_pgp.testing.layers import PGPConfigLayer
-class TestPlugin(TestCase):
+class TestPlugin(unittest.TestCase):
layer = PGPConfigLayer
def test_instance_loaded(self):
- self.assertIn('pgp', mailman_config.plugins.keys())
- instance = mailman_config.plugins['pgp']
+ self.assertIn('pgp', mm_config.plugins.keys())
+ instance = mm_config.plugins['pgp']
self.assertIsInstance(instance, PGPMailman)