summaryrefslogtreecommitdiff
path: root/src/mailman/testing/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-10-24 22:40:59 -0400
committerBarry Warsaw2011-10-24 22:40:59 -0400
commit42d13a8672d73aca2fc889633dbf7b3ff2a9c7ee (patch)
treeebdf4648191978b0010b9add08f416e04d1385d8 /src/mailman/testing/helpers.py
parentc7e4e56de6f943b49fdaaede27321185394f7ecb (diff)
downloadmailman-42d13a8672d73aca2fc889633dbf7b3ff2a9c7ee.tar.gz
mailman-42d13a8672d73aca2fc889633dbf7b3ff2a9c7ee.tar.zst
mailman-42d13a8672d73aca2fc889633dbf7b3ff2a9c7ee.zip
Diffstat (limited to 'src/mailman/testing/helpers.py')
-rw-r--r--src/mailman/testing/helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py
index 144ae1ffb..a7fc4e289 100644
--- a/src/mailman/testing/helpers.py
+++ b/src/mailman/testing/helpers.py
@@ -61,6 +61,7 @@ from mailman.config import config
from mailman.email.message import Message
from mailman.interfaces.member import MemberRole
from mailman.interfaces.messages import IMessageStore
+from mailman.interfaces.styles import IStyleManager
from mailman.interfaces.usermanager import IUserManager
from mailman.utilities.mailbox import Mailbox
@@ -371,7 +372,7 @@ def reset_the_world():
message_store.delete_message(message['message-id'])
config.db.commit()
# Reset the global style manager.
- config.style_manager.populate()
+ getUtility(IStyleManager).populate()