Commit 12db2a27 authored by Yusei Tahara's avatar Yusei Tahara

store all the messages in the list.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21009 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56dda0ff
...@@ -61,6 +61,7 @@ class DummyMailHost(MailHost): ...@@ -61,6 +61,7 @@ class DummyMailHost(MailHost):
"""Record message in _last_message.""" """Record message in _last_message."""
self._previous_message = self._last_message self._previous_message = self._last_message
self._last_message = (mfrom, mto, messageText) self._last_message = (mfrom, mto, messageText)
self._message_list.append(self._last_message)
class DummyTranslationService: class DummyTranslationService:
"""A dummy translation service where you can access translated msgids and """A dummy translation service where you can access translated msgids and
......
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