[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/
PortalTestCase no longer calls _refreshSkinData() as CMF is
smart enough
Stefan H. Holek
stefan at epy.co.at
Fri Apr 22 13:04:18 EDT 2005
Log message for revision 30110:
PortalTestCase no longer calls _refreshSkinData() as CMF is smart enough
now (and CMF 1.5+ does not work that way anyway).
Changed:
U Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py
U Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
U Zope/trunk/lib/python/Testing/ZopeTestCase/testPortalTestCase.py
-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py 2005-04-22 16:50:28 UTC (rev 30109)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py 2005-04-22 17:04:17 UTC (rev 30110)
@@ -59,7 +59,6 @@
self.app = self._app()
self.portal = self._portal()
self._setup()
- self._refreshSkinData()
self.afterSetUp()
except:
self._clear()
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt 2005-04-22 16:50:28 UTC (rev 30109)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt 2005-04-22 17:04:17 UTC (rev 30110)
@@ -8,6 +8,8 @@
- Removed doctest.py, we now use the one from zope.testing.
- Removed dochttp.py + test, we now use the one from zope.app.tests.
- ZopeLite now takes care not to monkey patch an already started Zope.
+- PortalTestCase no longer calls _refreshSkinData() as CMF is smart enough
+ now (and CMF 1.5+ does not work that way anyway).
0.9.6
- Dropped support for Zope 2.5 as it lacks the setSecurityManager() API.
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/testPortalTestCase.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/testPortalTestCase.py 2005-04-22 16:50:28 UTC (rev 30109)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/testPortalTestCase.py 2005-04-22 17:04:17 UTC (rev 30110)
@@ -320,7 +320,8 @@
# XXX: Changed in 0.9.0
#self.assertEqual(self._called, ['afterClear', 'beforeSetUp', 'afterSetUp'])
self.assertEqual(self._called, ['beforeSetUp', 'afterSetUp'])
- self.assertEqual(self.portal._v_skindata, 'refreshed')
+ # XXX: Changed in 0.9.7
+ #self.assertEqual(self.portal._v_skindata, 'refreshed')
def test_tearDown(self):
# Everything should be removed
@@ -343,7 +344,8 @@
# XXX: Changed in 0.9.0
#self.assertEqual(self._called, ['afterClear', 'beforeSetUp', 'afterSetUp'])
self.assertEqual(self._called, ['beforeSetUp', 'afterSetUp'])
- self.assertEqual(self.portal._v_skindata, 'refreshed')
+ # XXX: Changed in 0.9.7
+ #self.assertEqual(self.portal._v_skindata, 'refreshed')
# This is crazy
More information about the Zope-Checkins
mailing list