[Erp5-report] r39322 nicolas.dumazet - /erp5/trunk/products/ERP5Type/tests/testMigration.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 19 10:07:14 CEST 2010
Author: nicolas.dumazet
Date: Tue Oct 19 10:07:12 2010
New Revision: 39322
URL: http://svn.erp5.org?rev=39322&view=rev
Log:
use skip() that supports classes instead of expectedFailure
Modified:
erp5/trunk/products/ERP5Type/tests/testMigration.py
Modified: erp5/trunk/products/ERP5Type/tests/testMigration.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testMigration.py?rev=39322&r1=39321&r2=39322&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testMigration.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testMigration.py [utf8] Tue Oct 19 10:07:12 2010
@@ -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(ERP5TypeTestCa
# 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()
More information about the Erp5-report
mailing list