[Erp5-report] r43438 gregory - /erp5/trunk/products/ERP5Type/tests/utils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 17 17:12:40 CET 2011
Author: gregory
Date: Thu Feb 17 17:12:40 2011
New Revision: 43438
URL: http://svn.erp5.org?rev=43438&view=rev
Log:
DummyMailHost must supply getUid() to be compliant with test_getPropertyForUid.
Modified:
erp5/trunk/products/ERP5Type/tests/utils.py
Modified: erp5/trunk/products/ERP5Type/tests/utils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/utils.py?rev=43438&r1=43437&r2=43438&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/utils.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/utils.py [utf8] Thu Feb 17 17:12:40 2011
@@ -97,6 +97,10 @@ class DummyMailHostMixin(object):
cls._previous_message = ()
cls._message_list = []
+ @classmethod
+ def getUid(cls):
+ return 0
+
class DummyMailHost(DummyMailHostMixin, MailHost):
pass
More information about the Erp5-report
mailing list