From 47eea2be6a86f81ba075df632305c1dfeecce50c Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 28 Jun 2017 16:48:02 +0200 Subject: Add ListStyle tests. --- src/mailman_pgp/rest/tests/test_lists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman_pgp/rest') diff --git a/src/mailman_pgp/rest/tests/test_lists.py b/src/mailman_pgp/rest/tests/test_lists.py index a7b1c2a..f5f8754 100644 --- a/src/mailman_pgp/rest/tests/test_lists.py +++ b/src/mailman_pgp/rest/tests/test_lists.py @@ -19,10 +19,10 @@ from unittest import TestCase from urllib.error import HTTPError from mailman.app.lifecycle import create_list -from mailman.database.transaction import transaction as mailman_transaction from mailman.testing.helpers import call_api from pgpy import PGPKey +from mailman_pgp.database import mm_transaction from mailman_pgp.testing.layers import PGPRESTLayer @@ -30,7 +30,7 @@ class TestLists(TestCase): layer = PGPRESTLayer def setUp(self): - with mailman_transaction(): + with mm_transaction(): self.mlist = create_list('test@example.com', style_name='pgp-default') -- cgit v1.2.3-70-g09d2