Commit 4a973c8f authored by Jérome Perrin's avatar Jérome Perrin

testBusinessTemplate: skip test_UpgradeBrokenObject on python3

This scenario does not really seem important, in such a scenario, first
repair the broken class (typicallly, by fixing the business template
dependency so that the business template containing the broken class is
updated first)
parent 87cbd0ee
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
import unittest import unittest
import logging import logging
from unittest import expectedFailure, skip from unittest import expectedFailure, skip, skipIf
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Acquisition import aq_base from Acquisition import aq_base
...@@ -7556,6 +7556,7 @@ class TestBusinessTemplate(BusinessTemplateMixin): ...@@ -7556,6 +7556,7 @@ class TestBusinessTemplate(BusinessTemplateMixin):
email = organisation['email%d' % (j+1)] email = organisation['email%d' % (j+1)]
self.assertTrue(email.getTitle().startswith('my email')) self.assertTrue(email.getTitle().startswith('my email'))
@skipIf(six.PY3, 'Unsupported scenario on python3')
def test_UpgradeBrokenObject(self): def test_UpgradeBrokenObject(self):
""" """
Test a case that there is an broken object and upgrade the path. Test a case that there is an broken object and upgrade the path.
......
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