[Erp5-report] r33636 luke - /erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 11 13:17:32 CET 2010


Author: luke
Date: Thu Mar 11 13:17:30 2010
New Revision: 33636

URL: http://svn.erp5.org?rev=33636&view=rev
Log:
 - mark tests with expected failures

Modified:
    erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py

Modified: erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py?rev=33636&r1=33635&r2=33636&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py [utf8] Thu Mar 11 13:17:30 2010
@@ -28,6 +28,7 @@
 
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
 from zope.interface.verify import verifyClass
+from backportUnittest import expectedFailure
 import unittest
 
 implements_tuple_list = [
@@ -84,6 +85,13 @@
 # Note: Enable this method when implements_tuple_list will be filled
 addTestMethodDynamically(TestERP5TypeInterfaces, implements_tuple_list)
 
+for failing_method in [
+    'test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage',
+  ]:
+  setattr(TestERP5TypeInterfaces, failing_method,
+      expectedFailure(getattr(TestERP5TypeInterfaces,failing_method)))
+
+
 def test_suite():
   suite = unittest.TestSuite()
   suite.addTest(unittest.makeSuite(TestERP5TypeInterfaces))




More information about the Erp5-report mailing list