Commit 22a27d23 authored by Julien Muchembled's avatar Julien Muchembled

Skip testBPMEvaluation by default

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6957a2dc
...@@ -39,6 +39,7 @@ It is advised to *NOT* remove erp5_administration. ...@@ -39,6 +39,7 @@ It is advised to *NOT* remove erp5_administration.
import unittest import unittest
import transaction import transaction
from Products.ERP5Type.tests.backportUnittest import expectedFailure, skip
from Products.ERP5.tests.testBPMCore import TestBPMMixin from Products.ERP5.tests.testBPMCore import TestBPMMixin
from DateTime import DateTime from DateTime import DateTime
...@@ -878,11 +879,17 @@ class TestInvoiceDifferentProcess(TestInvoice, ...@@ -878,11 +879,17 @@ class TestInvoiceDifferentProcess(TestInvoice,
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestOrderDefaultProcess)) import os
suite.addTest(unittest.makeSuite(TestPackingListDefaultProcess)) if int(os.environ.get('erp5_report_new_simulation_failures') or 0):
# suite.addTest(unittest.makeSuite(TestInvoiceDefaultProcess)) decorate = lambda test_case: test_case
else:
suite.addTest(unittest.makeSuite(TestOrderDifferentProcess)) decorate = skip("broken since r39918")
suite.addTest(unittest.makeSuite(TestPackingListDifferentProcess)) for test_case in (TestOrderDefaultProcess,
# suite.addTest(unittest.makeSuite(TestInvoiceDifferentProcess)) TestPackingListDefaultProcess,
#TestInvoiceDefaultProcess,
TestOrderDifferentProcess,
TestPackingListDifferentProcess,
#TestInvoiceDifferentProcess,
):
suite.addTest(unittest.makeSuite(decorate(test_case)))
return suite return suite
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