[Erp5-report] r33851 kazuhiko - /erp5/trunk/products/ERP5/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 18 11:17:32 CET 2010
Author: kazuhiko
Date: Thu Mar 18 11:17:25 2010
New Revision: 33851
URL: http://svn.erp5.org?rev=33851&view=rev
Log:
mark several tests as 'expectedFailure'.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Simulation.py
erp5/trunk/products/ERP5/tests/testTradeModelLine.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=33851&r1=33850&r2=33851&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Thu Mar 18 11:17:25 2010
@@ -39,6 +39,7 @@
from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod
from testPackingList import TestPackingList
from testInvoice import TestSaleInvoice, TestInvoiceMixin
+from Products.ERP5Type.tests.backportUnittest import expectedFailure
class TestERP5SimulationMixin(TestInvoiceMixin):
def getBusinessTemplateList(self):
@@ -505,6 +506,14 @@
class TestERP5SimulationPackingList(TestERP5SimulationMixin, TestPackingList):
pass
+for failing_method in [
+ # This test does not work as it is because of the different behaviour of
+ # Adopt Solver.
+ 'test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine',
+ ]:
+ setattr(TestERP5SimulationPackingList, failing_method,
+ expectedFailure(getattr(TestERP5SimulationPackingList, failing_method)))
+
class TestERP5SimulationInvoice(TestERP5SimulationMixin, TestSaleInvoice):
def afterSetUp(self):
Modified: erp5/trunk/products/ERP5/tests/testTradeModelLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testTradeModelLine.py?rev=33851&r1=33850&r2=33851&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testTradeModelLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testTradeModelLine.py [utf8] Thu Mar 18 11:17:25 2010
@@ -37,6 +37,7 @@
from Products.ERP5.PropertySheet.TradeModelLine import (TARGET_LEVEL_MOVEMENT,
TARGET_LEVEL_DELIVERY)
from Products.ERP5Type.tests.utils import createZODBPythonScript
+from Products.ERP5Type.tests.backportUnittest import expectedFailure
class TestTradeModelLineMixin(TestBPMMixin):
"""Provides methods to implementations sharing similar logic to Trade Model Lines"""
@@ -2068,6 +2069,8 @@
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self, quiet=quiet)
+ # This test does not work without implementing an appropriate Trade Model Solver.
+ @expectedFailure
def test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving(self, quiet=quiet):
"""Check that after changing invoice line invoice is properly diverged and it is possible to solve"""
sequence_list = SequenceList()
More information about the Erp5-report
mailing list