Commit dd767bf9 authored by Nicolas Dumazet's avatar Nicolas Dumazet

use skip() that supports classes instead of expectedFailure


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39322 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c39b2f13
......@@ -4,7 +4,7 @@ import unittest
import transaction
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from Products.ERP5Type.tests.backportUnittest import skip
class TestNewStyleClasses(ERP5TypeTestCase):
......@@ -127,8 +127,7 @@ class TestNewStyleClasses(ERP5TypeTestCase):
# reset the type
person_type.setTypeClass('Person')
# XXX remove me once portal type classes code is committed
TestNewStyleClasses = expectedFailure(TestNewStyleClasses)
TestNewStyleClasses = skip("portal type classes code is not yet committed")(TestNewStyleClasses)
def test_suite():
suite = unittest.TestSuite()
......
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