Commit 961c1651 authored by Stefan H. Holek's avatar Stefan H. Holek

PortalTestCase no longer calls _refreshSkinData() as CMF is smart enough

now (and CMF 1.5+ does not work that way anyway).
parent e62eb1f6
......@@ -59,7 +59,6 @@ class PortalTestCase(base.TestCase):
self.app = self._app()
self.portal = self._portal()
self._setup()
self._refreshSkinData()
self.afterSetUp()
except:
self._clear()
......
......@@ -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.
......
......@@ -320,7 +320,8 @@ class TestPortalTestCase(ZopeTestCase.PortalTestCase):
# 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 @@ class TestPortalTestCase(ZopeTestCase.PortalTestCase):
# 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
......
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