Commit b02a621b authored by Arnaud Fontaine's avatar Arnaud Fontaine

Mark failing oxatis and virtuemart as expectedFailure.

Following discussion with Aurélien, it breaks because of unicode changes
in Zope2.12 and are not being used.
parent 279685b9
...@@ -33,6 +33,7 @@ from zLOG import LOG ...@@ -33,6 +33,7 @@ from zLOG import LOG
from Testing import ZopeTestCase from Testing import ZopeTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from Products.ERP5Type.tests.backportUnittest import expectedFailure
class TestOxatisSynchronization(ERP5TypeTestCase): class TestOxatisSynchronization(ERP5TypeTestCase):
""" """
...@@ -646,7 +647,7 @@ class TestOxatisSynchronization(ERP5TypeTestCase): ...@@ -646,7 +647,7 @@ class TestOxatisSynchronization(ERP5TypeTestCase):
self.assertNotEqual(sale_order.getDestinationAdministration(), self.oxatis.getDestination()) self.assertNotEqual(sale_order.getDestinationAdministration(), self.oxatis.getDestination())
@expectedFailure
def testFullSync(self): def testFullSync(self):
self.runPersonSync() self.runPersonSync()
self.runProductSync() self.runProductSync()
......
70 71
\ No newline at end of file \ No newline at end of file
...@@ -34,6 +34,8 @@ from Testing import ZopeTestCase ...@@ -34,6 +34,8 @@ from Testing import ZopeTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
import os import os
from Products.ERP5Type.tests.backportUnittest import expectedFailure
class TestVirtuemartSynchronization(ERP5TypeTestCase): class TestVirtuemartSynchronization(ERP5TypeTestCase):
""" """
""" """
...@@ -874,7 +876,7 @@ class TestVirtuemartSynchronization(ERP5TypeTestCase): ...@@ -874,7 +876,7 @@ class TestVirtuemartSynchronization(ERP5TypeTestCase):
self.assertNotEqual(sale_order.getDestinationDecision(), self.virtuemart.getDestination()) self.assertNotEqual(sale_order.getDestinationDecision(), self.virtuemart.getDestination())
self.assertNotEqual(sale_order.getDestinationAdministration(), self.virtuemart.getDestination()) self.assertNotEqual(sale_order.getDestinationAdministration(), self.virtuemart.getDestination())
@expectedFailure
def testFullSync(self): def testFullSync(self):
self.runOrganisationSync() self.runOrganisationSync()
self.runPersonSync() self.runPersonSync()
......
18 19
\ No newline at end of file \ No newline at end of file
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