summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests
diff options
context:
space:
mode:
authorBarry Warsaw2016-09-13 19:43:34 +1200
committerBarry Warsaw2016-09-13 19:43:34 +1200
commit74c7d6d1d089864fe01a3f2502314c31508a4781 (patch)
tree13ebba81466850b64b4fb909018aa09694806d8f /src/mailman/rest/tests
parente18e7ac34e8b4b2f88d5987ccb76a39c54c61c0c (diff)
downloadmailman-74c7d6d1d089864fe01a3f2502314c31508a4781.tar.gz
mailman-74c7d6d1d089864fe01a3f2502314c31508a4781.tar.zst
mailman-74c7d6d1d089864fe01a3f2502314c31508a4781.zip
Split registration (subscription) and unsubscription:
* events * notices * handlers Also, be sure to do only one `leave` command per email.
Diffstat (limited to 'src/mailman/rest/tests')
-rw-r--r--src/mailman/rest/tests/test_domains.py2
-rw-r--r--src/mailman/rest/tests/test_lists.py2
-rw-r--r--src/mailman/rest/tests/test_root.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/rest/tests/test_domains.py b/src/mailman/rest/tests/test_domains.py
index 41723b07c..c707eaadb 100644
--- a/src/mailman/rest/tests/test_domains.py
+++ b/src/mailman/rest/tests/test_domains.py
@@ -288,7 +288,7 @@ class TestDomainTemplates(unittest.TestCase):
'list:member:digest:masthead': '',
'list:member:regular:footer': 'http://example.org/footer',
'list:member:regular:header': 'http://example.org/header',
- 'list:user:action:confirm': '',
+ 'list:user:action:subscribe': '',
'list:user:action:unsubscribe': '',
'list:user:notice:goodbye': 'http://example.org/goodbye',
'list:user:notice:hold': '',
diff --git a/src/mailman/rest/tests/test_lists.py b/src/mailman/rest/tests/test_lists.py
index 787009855..da6e95f3b 100644
--- a/src/mailman/rest/tests/test_lists.py
+++ b/src/mailman/rest/tests/test_lists.py
@@ -674,7 +674,7 @@ class TestListTemplates(unittest.TestCase):
'list:member:digest:masthead': '',
'list:member:regular:footer': 'http://example.org/footer',
'list:member:regular:header': 'http://example.org/header',
- 'list:user:action:confirm': '',
+ 'list:user:action:subscribe': '',
'list:user:action:unsubscribe': '',
'list:user:notice:goodbye': 'http://example.org/goodbye',
'list:user:notice:hold': '',
diff --git a/src/mailman/rest/tests/test_root.py b/src/mailman/rest/tests/test_root.py
index 840212825..eb246cb1d 100644
--- a/src/mailman/rest/tests/test_root.py
+++ b/src/mailman/rest/tests/test_root.py
@@ -288,7 +288,7 @@ class TestSiteTemplates(unittest.TestCase):
'list:member:digest:masthead': '',
'list:member:regular:footer': 'http://example.org/footer',
'list:member:regular:header': 'http://example.org/header',
- 'list:user:action:confirm': '',
+ 'list:user:action:subscribe': '',
'list:user:action:unsubscribe': '',
'list:user:notice:goodbye': 'http://example.org/goodbye',
'list:user:notice:hold': '',