[CMF-checkins] SVN: CMF/trunk/CMF - Forward-compatibility for Zope
2.11 testrunner.
Tres Seaver
tseaver at palladion.com
Sat Apr 14 13:07:47 EDT 2007
Log message for revision 74136:
- Forward-compatibility for Zope 2.11 testrunner.
Changed:
U CMF/trunk/CMFCore/testing.py
U CMF/trunk/CMFUid/testing.py
-=-
Modified: CMF/trunk/CMFCore/testing.py
===================================================================
--- CMF/trunk/CMFCore/testing.py 2007-04-14 17:07:29 UTC (rev 74135)
+++ CMF/trunk/CMFCore/testing.py 2007-04-14 17:07:46 UTC (rev 74136)
@@ -89,6 +89,7 @@
@classmethod
def testTearDown(cls):
cleanUp()
+ tearDown = testTearDown # forward-compatibility for Zope 2.11+ testrunner
class TraversingZCMLLayer:
@@ -100,10 +101,12 @@
zcml.load_config('meta.zcml', Products.Five)
zcml.load_config('traversing.zcml', Products.Five)
setHooks()
+ setUp = testSetUp # forward-compatibility for Zope 2.11+ testrunner
@classmethod
def testTearDown(cls):
cleanUp()
+ tearDown = testTearDown # forward-compatibility for Zope 2.11+ testrunner
class TraversingEventZCMLLayer:
@@ -117,10 +120,12 @@
zcml.load_config('event.zcml', Products.Five)
zcml.load_config('event.zcml', Products.CMFCore)
setHooks()
+ setUp = testSetUp # forward-compatibility for Zope 2.11+ testrunner
@classmethod
def testTearDown(cls):
cleanUp()
+ tearDown = testTearDown # forward-compatibility for Zope 2.11+ testrunner
class FunctionalZCMLLayer:
@@ -194,10 +199,12 @@
zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
zcml.load_string(_DUMMY_ZCML)
setHooks()
+ setUp = testSetUp # forward-compatibility for Zope 2.11+ testrunner
@classmethod
def testTearDown(cls):
cleanUp()
+ tearDown = testTearDown # forward-compatibility for Zope 2.11+ testrunner
def run(test_suite):
Modified: CMF/trunk/CMFUid/testing.py
===================================================================
--- CMF/trunk/CMFUid/testing.py 2007-04-14 17:07:29 UTC (rev 74135)
+++ CMF/trunk/CMFUid/testing.py 2007-04-14 17:07:46 UTC (rev 74136)
@@ -12,8 +12,10 @@
zcml.load_config('event.zcml', Products.Five)
zcml.load_config('event.zcml', Products.CMFUid)
setHooks()
+ setUp = testSetUp # forward-compatibility for Zope 2.11+ testrunner
@classmethod
def testTearDown(cls):
cleanUp()
+ tearDown = testTearDown # forward-compatibility for Zope 2.11+ testrunner
More information about the CMF-checkins
mailing list