[Erp5-report] r33635 luke - /erp5/trunk/products/ERP5/tests/testERP5Interfaces.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 11 13:17:02 CET 2010
Author: luke
Date: Thu Mar 11 13:17:00 2010
New Revision: 33635
URL: http://svn.erp5.org?rev=33635&view=rev
Log:
- mark tests with expected failures
Modified:
erp5/trunk/products/ERP5/tests/testERP5Interfaces.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Interfaces.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Interfaces.py?rev=33635&r1=33634&r2=33635&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Interfaces.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Interfaces.py [utf8] Thu Mar 11 13:17:00 2010
@@ -28,6 +28,7 @@
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.testERP5TypeInterfaces import addTestMethodDynamically
+from backportUnittest import expectedFailure
import unittest
# this list can be generated automatically using introspection or can be set
@@ -81,6 +82,24 @@
addTestMethodDynamically(TestERP5Interfaces, implements_tuple_list)
+for failing_method in [
+ 'test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList',
+ 'test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath',
+ 'test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider',
+ 'test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator',
+ 'test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator',
+ 'test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IVariated',
+ 'test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator',
+ 'test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IVariated',
+ 'test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule',
+ 'test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule',
+ 'test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator',
+ 'test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated',
+ 'test_Products.ERP5Type.Document.TransformedResource_TransformedResource_implements_IVariated',
+ ]:
+ setattr(TestERP5Interfaces, failing_method,
+ expectedFailure(getattr(TestERP5Interfaces,failing_method)))
+
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestERP5Interfaces))
More information about the Erp5-report
mailing list