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
a5d4d646
Commit
a5d4d646
authored
May 22, 2006
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I found out what a previously discussed failure is about and sketched out
a plan how to deal with it.
parent
6d479d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lib/python/Products/PageTemplates/tests/testHTMLTests.py
lib/python/Products/PageTemplates/tests/testHTMLTests.py
+9
-5
No files found.
lib/python/Products/PageTemplates/tests/testHTMLTests.py
View file @
a5d4d646
...
@@ -125,11 +125,15 @@ class HTMLTests(zope.component.testing.PlacelessSetup, unittest.TestCase):
...
@@ -125,11 +125,15 @@ class HTMLTests(zope.component.testing.PlacelessSetup, unittest.TestCase):
self
.
assert_expected
(
self
.
folder
.
t
,
'Loop1.html'
)
self
.
assert_expected
(
self
.
folder
.
t
,
'Loop1.html'
)
def
checkFancyLoop
(
self
):
def
checkFancyLoop
(
self
):
# XXX iterator/first/bla is supposed to work for some reason,
# XXX This checks among others for a feature of the
# even though iterator.first is a method that needs to be
# PathIterator which lets you do something like this in a path
# called (and that won't happen when it appears inside a path
# expr: iterator/last/bla. This would check whether the
# expr). I wonder how this worked in Zope 2.9. Need to
# current item in the iteration was the last one with a
# investigate.
# particular 'bla' attribute value. I wonder whether anyone
# actually needs this? I vote for ripping it out. We can
# provide BBB for a certain deprecation period by enabling a
# specialized ITraversable adapter for ZopeIterator that works
# similar to the old PathIterator.
self
.
assert_expected
(
self
.
folder
.
t
,
'Loop2.html'
)
self
.
assert_expected
(
self
.
folder
.
t
,
'Loop2.html'
)
def
checkGlobalsShadowLocals
(
self
):
def
checkGlobalsShadowLocals
(
self
):
...
...
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