From b02a621b7ee7fbd8e67c4661d11a50310b7343e2 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Wed, 9 Nov 2011 17:47:47 +0900 Subject: [PATCH] Mark failing oxatis and virtuemart as expectedFailure. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following discussion with Aur茅lien, it breaks because of unicode changes in Zope2.12 and are not being used. --- .../TestTemplateItem/testOxatisSynchronization.py | 3 ++- bt5/erp5_tiosafe_oxatis_test/bt/revision | 2 +- .../TestTemplateItem/testVirtuemartSynchronization.py | 4 +++- bt5/erp5_tiosafe_virtuemart_test/bt/revision | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_tiosafe_oxatis_test/TestTemplateItem/testOxatisSynchronization.py b/bt5/erp5_tiosafe_oxatis_test/TestTemplateItem/testOxatisSynchronization.py index 5002cd6c06..b3bd69b8bf 100644 --- a/bt5/erp5_tiosafe_oxatis_test/TestTemplateItem/testOxatisSynchronization.py +++ b/bt5/erp5_tiosafe_oxatis_test/TestTemplateItem/testOxatisSynchronization.py @@ -33,6 +33,7 @@ from zLOG import LOG from Testing import ZopeTestCase from AccessControl.SecurityManagement import newSecurityManager +from Products.ERP5Type.tests.backportUnittest import expectedFailure class TestOxatisSynchronization(ERP5TypeTestCase): """ @@ -646,7 +647,7 @@ class TestOxatisSynchronization(ERP5TypeTestCase): self.assertNotEqual(sale_order.getDestinationAdministration(), self.oxatis.getDestination()) - + @expectedFailure def testFullSync(self): self.runPersonSync() self.runProductSync() diff --git a/bt5/erp5_tiosafe_oxatis_test/bt/revision b/bt5/erp5_tiosafe_oxatis_test/bt/revision index d7765fe47e..2fb681e3f9 100644 --- a/bt5/erp5_tiosafe_oxatis_test/bt/revision +++ b/bt5/erp5_tiosafe_oxatis_test/bt/revision @@ -1 +1 @@ -70 \ No newline at end of file +71 \ No newline at end of file diff --git a/bt5/erp5_tiosafe_virtuemart_test/TestTemplateItem/testVirtuemartSynchronization.py b/bt5/erp5_tiosafe_virtuemart_test/TestTemplateItem/testVirtuemartSynchronization.py index 038908957f..b15eb12622 100644 --- a/bt5/erp5_tiosafe_virtuemart_test/TestTemplateItem/testVirtuemartSynchronization.py +++ b/bt5/erp5_tiosafe_virtuemart_test/TestTemplateItem/testVirtuemartSynchronization.py @@ -34,6 +34,8 @@ from Testing import ZopeTestCase from AccessControl.SecurityManagement import newSecurityManager import os +from Products.ERP5Type.tests.backportUnittest import expectedFailure + class TestVirtuemartSynchronization(ERP5TypeTestCase): """ """ @@ -874,7 +876,7 @@ class TestVirtuemartSynchronization(ERP5TypeTestCase): self.assertNotEqual(sale_order.getDestinationDecision(), self.virtuemart.getDestination()) self.assertNotEqual(sale_order.getDestinationAdministration(), self.virtuemart.getDestination()) - + @expectedFailure def testFullSync(self): self.runOrganisationSync() self.runPersonSync() diff --git a/bt5/erp5_tiosafe_virtuemart_test/bt/revision b/bt5/erp5_tiosafe_virtuemart_test/bt/revision index 25bf17fc5a..dec2bf5d61 100644 --- a/bt5/erp5_tiosafe_virtuemart_test/bt/revision +++ b/bt5/erp5_tiosafe_virtuemart_test/bt/revision @@ -1 +1 @@ -18 \ No newline at end of file +19 \ No newline at end of file -- 2.30.9