Commit ddc949a0 authored by Nicolas Dumazet's avatar Nicolas Dumazet

copy testReturnedSalePackingList to ERP5Legacy to make sure old simulation works.

Mark the test in ERP5/ with newSimulationExpectedFailure


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41533 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 088b8f17
......@@ -36,6 +36,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList
from testPackingList import TestPackingListMixin
from DateTime import DateTime
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
from Products.ERP5.tests.utils import newSimulationExpectedFailure
class ReturnedSalePackingListMixin(TestPackingListMixin):
"""Mixing class with steps to test returned sale packing lists.
......@@ -431,6 +432,7 @@ class TestReturnedSalePackingList(ReturnedSalePackingListMixin, ERP5TypeTestCase
run_all_test = 1
quiet = 0
@newSimulationExpectedFailure
def test_01_ReturnedSalePackingListWithInventory(self, quiet=quiet,
run=run_all_test):
"""
......@@ -458,6 +460,7 @@ class TestReturnedSalePackingList(ReturnedSalePackingListMixin, ERP5TypeTestCase
sequence_list.play(self, quiet=quiet)
@newSimulationExpectedFailure
def test_02_ReturnedSalePackingListWorkflow(self, quiet=quiet,
run=run_all_test):
"""
......@@ -487,6 +490,7 @@ class TestReturnedSalePackingList(ReturnedSalePackingListMixin, ERP5TypeTestCase
sequence_list.play(self, quiet=quiet)
@newSimulationExpectedFailure
def test_03_ReturnedSalePackingListWorkflowFail(self, quiet=quiet,
run=run_all_test):
"""
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment