Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
961c1651
Commit
961c1651
authored
Apr 22, 2005
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PortalTestCase no longer calls _refreshSkinData() as CMF is smart enough
now (and CMF 1.5+ does not work that way anyway).
parent
e62eb1f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
lib/python/Testing/ZopeTestCase/PortalTestCase.py
lib/python/Testing/ZopeTestCase/PortalTestCase.py
+0
-1
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
+2
-0
lib/python/Testing/ZopeTestCase/testPortalTestCase.py
lib/python/Testing/ZopeTestCase/testPortalTestCase.py
+4
-2
No files found.
lib/python/Testing/ZopeTestCase/PortalTestCase.py
View file @
961c1651
...
...
@@ -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
()
...
...
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
View file @
961c1651
...
...
@@ -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.
...
...
lib/python/Testing/ZopeTestCase/testPortalTestCase.py
View file @
961c1651
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment