Commit 8139fdd3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add ZODB Document BusinessTemplate tests as expected failure for Constraint...

Add ZODB Document BusinessTemplate tests as expected failure for Constraint and Test (not implemented yet).
parent 17914de6
......@@ -41,7 +41,7 @@ from Products.ERP5Type.Globals import PersistentMapping
from Products.CMFCore.Expression import Expression
from Products.ERP5Type.tests.utils import LogInterceptor
from Products.ERP5Type.Workflow import addWorkflowByType
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from Products.ERP5Type.tests.backportUnittest import expectedFailure, skip
from Products.ERP5VCS.WorkingCopy import getVcsTool
import shutil
import os
......@@ -7299,6 +7299,27 @@ class TestTestTemplateItem(TestDocumentTemplateItem):
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self)
# XXX-arnau: Skip until ZODB Tests and Constraints have been implemented (not
# expectedFailure because following tests would fail after the ZODB Component
# has been created)
TestTestTemplateItem.test_BusinessTemplateWithZodbDocument = skip(
'Not implemented yet')(TestTestTemplateItem.test_BusinessTemplateWithZodbDocument)
TestTestTemplateItem.test_BusinessTemplateWithZodbDocumentNonExistingBefore = \
skip('Not implemented yet')(TestTestTemplateItem.test_BusinessTemplateWithZodbDocumentNonExistingBefore)
TestTestTemplateItem.test_BusinessTemplateWithZodbDocumentMigrated = \
skip('Not implemented yet')(TestTestTemplateItem.test_BusinessTemplateWithZodbDocumentMigrated)
TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocument = skip(
'Not implemented yet')(TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocument)
TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocumentNonExistingBefore = \
skip('Not implemented yet')(TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocumentNonExistingBefore)
TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocumentMigrated = \
skip('Not implemented yet')(TestConstraintTemplateItem.test_BusinessTemplateWithZodbDocumentMigrated)
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestBusinessTemplate))
......
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