Commit 24f92b6c authored by Barry Warsaw's avatar Barry Warsaw

Fix some test failures:

* when postfix is not installed
* because the Subject values are instances, not strings
parent 6d84ef35
......@@ -27,6 +27,7 @@ generation.
... incoming: mailman.mta.postfix.LMTP
... lmtp_host: lmtp.example.com
... lmtp_port: 24
... postfix_map_cmd: /bin/true
... """)
Let's create a mailing list and then display the transport map for it. We'll
......
......@@ -255,3 +255,8 @@ unsubscribe her from the list.
>>> print mlist.members.get_member('[email protected]')
None
Confirmations
=============
......@@ -132,7 +132,7 @@ address, and the other is the results of his email command.
2
>>> def sortkey(item):
... return item.msg['subject']
... return str(item.msg['subject'])
>>> messages = sorted(get_queue_messages('virgin'), key=sortkey)
>>> from mailman.interfaces.domain import IDomainManager
......@@ -145,8 +145,8 @@ address, and the other is the results of his email command.
... token = str(subject).split()[1].strip()
... status = registrar.confirm(token)
... assert status, 'Confirmation failed'
Subject: confirm ...
Subject: The results of your email commands
Subject: confirm ...
Similarly, to leave a mailing list, the user need only email the -leave or
-unsubscribe address (the latter is deprecated).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment