From 0b8adb2c0975471f8350292c6c18d04c9d9979b2 Mon Sep 17 00:00:00 2001
From: Leonardo Rochael Almeida <leonardo@nexedi.com>
Date: Tue, 22 Dec 2009 21:42:35 +0000
Subject: [PATCH] Fix DummyMailHost._send() signature to match Zope 2.12

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31426 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/tests/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/utils.py b/product/ERP5Type/tests/utils.py
index 39a37a0bb4..19ecefa172 100644
--- a/product/ERP5Type/tests/utils.py
+++ b/product/ERP5Type/tests/utils.py
@@ -61,7 +61,7 @@ class DummyMailHost(MailHost):
   _last_message = ()
   _previous_message = ()
   _message_list = []
-  def _send( self, mfrom, mto, messageText ):
+  def _send( self, mfrom, mto, messageText, immediate=False ):
     """Record message in _last_message."""
     self._previous_message = self._last_message
     self._last_message = (mfrom, mto, messageText)
-- 
2.30.9