summaryrefslogtreecommitdiff
path: root/src/mailman/app/tests/test_notifications.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-05-24 13:25:26 -0700
committerBarry Warsaw2017-05-24 13:25:26 -0700
commitb2d961dcffa6602c2b39e421b157c0c0026b6c46 (patch)
treeb2a41632ee41f847d48b4c8155e8cc1bd1155893 /src/mailman/app/tests/test_notifications.py
parent6894855b2b6c6fb7ada2dca3708f67a16cf2e2da (diff)
downloadmailman-b2d961dcffa6602c2b39e421b157c0c0026b6c46.tar.gz
mailman-b2d961dcffa6602c2b39e421b157c0c0026b6c46.tar.zst
mailman-b2d961dcffa6602c2b39e421b157c0c0026b6c46.zip
Diffstat (limited to 'src/mailman/app/tests/test_notifications.py')
-rw-r--r--src/mailman/app/tests/test_notifications.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/app/tests/test_notifications.py b/src/mailman/app/tests/test_notifications.py
index 05ce4cf2f..4a6f56a72 100644
--- a/src/mailman/app/tests/test_notifications.py
+++ b/src/mailman/app/tests/test_notifications.py
@@ -48,7 +48,8 @@ class TestNotifications(unittest.TestCase):
self._mlist = create_list('test@example.com')
self._mlist.display_name = 'Test List'
getUtility(ITemplateManager).set(
- 'user:ack:welcome', self._mlist.list_id, 'mailman:///welcome.txt')
+ 'list:user:notice:welcome', self._mlist.list_id,
+ 'mailman:///welcome.txt')
config.push('template config', """\
[paths.testing]
template_dir: {}/templates
@@ -94,7 +95,7 @@ Welcome to the Test List mailing list.
# The welcome message url can contain placeholders for the fqdn list
# name and language.
getUtility(ITemplateManager).set(
- 'user:ack:welcome', self._mlist.list_id,
+ 'list:user:notice:welcome', self._mlist.list_id,
'mailman:///$listname/$language/welcome.txt')
# Add the xx language and subscribe Anne using it.
manager = getUtility(ILanguageManager)