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
eb4dc998
Commit
eb4dc998
authored
Apr 11, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test cases for repeat with replace/combine.
parent
8937519b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
112 additions
and
0 deletions
+112
-0
lib/python/TAL/test/input/test14.html
lib/python/TAL/test/input/test14.html
+10
-0
lib/python/TAL/test/input/test14.xml
lib/python/TAL/test/input/test14.xml
+15
-0
lib/python/TAL/test/output/test14.html
lib/python/TAL/test/output/test14.html
+13
-0
lib/python/TAL/test/output/test14.xml
lib/python/TAL/test/output/test14.xml
+18
-0
lib/python/TAL/tests/input/test14.html
lib/python/TAL/tests/input/test14.html
+10
-0
lib/python/TAL/tests/input/test14.xml
lib/python/TAL/tests/input/test14.xml
+15
-0
lib/python/TAL/tests/output/test14.html
lib/python/TAL/tests/output/test14.html
+13
-0
lib/python/TAL/tests/output/test14.xml
lib/python/TAL/tests/output/test14.xml
+18
-0
No files found.
lib/python/TAL/test/input/test14.html
0 → 100644
View file @
eb4dc998
<table>
<tr>
<td
tal:repeat=
"x python:['car', 'bike', 'broomstick']"
tal:content=
"x"
>
</td>
</tr>
</table>
<p>
<span
tal:repeat=
"x python:['Harry', 'Ron', 'Hermione']"
tal:replace=
"x"
/>
</p>
lib/python/TAL/test/input/test14.xml
0 → 100644
View file @
eb4dc998
<?xml version="1.0" ?>
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<table>
<tr>
<td
tal:repeat=
"x python:['car', 'bike', 'broomstick']"
tal:content=
"x"
>
</td>
</tr>
</table>
<p>
<span
tal:repeat=
"x python:['Harry', 'Ron', 'Hermione']"
tal:replace=
"x"
/>
</p>
</html>
lib/python/TAL/test/output/test14.html
0 → 100644
View file @
eb4dc998
<table>
<tr>
<td>
car
</td>
<td>
bike
</td>
<td>
broomstick
</td>
</tr>
</table>
<p>
Harry
Ron
Hermione
</p>
lib/python/TAL/test/output/test14.xml
0 → 100644
View file @
eb4dc998
<?xml version="1.0" ?>
<html>
<table>
<tr>
<td>
car
</td>
<td>
bike
</td>
<td>
broomstick
</td>
</tr>
</table>
<p>
Harry
Ron
Hermione
</p>
</html>
lib/python/TAL/tests/input/test14.html
0 → 100644
View file @
eb4dc998
<table>
<tr>
<td
tal:repeat=
"x python:['car', 'bike', 'broomstick']"
tal:content=
"x"
>
</td>
</tr>
</table>
<p>
<span
tal:repeat=
"x python:['Harry', 'Ron', 'Hermione']"
tal:replace=
"x"
/>
</p>
lib/python/TAL/tests/input/test14.xml
0 → 100644
View file @
eb4dc998
<?xml version="1.0" ?>
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<table>
<tr>
<td
tal:repeat=
"x python:['car', 'bike', 'broomstick']"
tal:content=
"x"
>
</td>
</tr>
</table>
<p>
<span
tal:repeat=
"x python:['Harry', 'Ron', 'Hermione']"
tal:replace=
"x"
/>
</p>
</html>
lib/python/TAL/tests/output/test14.html
0 → 100644
View file @
eb4dc998
<table>
<tr>
<td>
car
</td>
<td>
bike
</td>
<td>
broomstick
</td>
</tr>
</table>
<p>
Harry
Ron
Hermione
</p>
lib/python/TAL/tests/output/test14.xml
0 → 100644
View file @
eb4dc998
<?xml version="1.0" ?>
<html>
<table>
<tr>
<td>
car
</td>
<td>
bike
</td>
<td>
broomstick
</td>
</tr>
</table>
<p>
Harry
Ron
Hermione
</p>
</html>
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