aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/tests/test_plugin.py
diff options
context:
space:
mode:
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)