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
84752495
Commit
84752495
authored
Mar 26, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
da65d85c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
1 deletion
+43
-1
lib/python/Products/PageTemplates/tests/input/CheckNotExpression.html
...roducts/PageTemplates/tests/input/CheckNotExpression.html
+9
-0
lib/python/Products/PageTemplates/tests/input/CheckWithXMLHeader.html
...roducts/PageTemplates/tests/input/CheckWithXMLHeader.html
+5
-0
lib/python/Products/PageTemplates/tests/output/CheckNotExpression.html
...oducts/PageTemplates/tests/output/CheckNotExpression.html
+9
-0
lib/python/Products/PageTemplates/tests/output/CheckWithXMLHeader.html
...oducts/PageTemplates/tests/output/CheckWithXMLHeader.html
+4
-0
lib/python/Products/PageTemplates/tests/testHTMLTests.py
lib/python/Products/PageTemplates/tests/testHTMLTests.py
+16
-1
No files found.
lib/python/Products/PageTemplates/tests/input/CheckNotExpression.html
0 → 100644
View file @
84752495
<html>
<head></head>
<body>
<div
tal:content=
"not:python:0:"
></div>
<div
tal:content=
"not:python:1"
></div>
<div
tal:content=
"not: python:1"
></div>
<div
tal:content=
"not:python:range(1,20)"
></div>
</body>
</html>
lib/python/Products/PageTemplates/tests/input/CheckWithXMLHeader.html
0 → 100644
View file @
84752495
<?xml version="1.0" ?>
<html>
<body
tal:content=
"string:Hello!"
>
</body>
</html>
lib/python/Products/PageTemplates/tests/output/CheckNotExpression.html
0 → 100644
View file @
84752495
<html>
<head></head>
<body>
<div
tal:content=
"not:python:0"
>
1
</div>
<div
tal:content=
"not:python:1"
>
0
</div>
<div
tal:content=
"not: python:1"
>
0
</div>
<div
tal:content=
"not:python:range(1,20)"
>
0
</div>
</body>
</html>
lib/python/Products/PageTemplates/tests/output/CheckWithXMLHeader.html
0 → 100644
View file @
84752495
<?xml version="1.0" ?>
<html>
<body
tal:content=
"string:Hello!"
>
Hello!
</body>
</html>
lib/python/Products/PageTemplates/tests/testHTMLTests.py
View file @
84752495
...
...
@@ -168,6 +168,21 @@ class HTMLTests(unittest.TestCase):
out
=
t
()
util
.
check_html
(
expect
,
out
)
def
checkWithXMLHeader
(
self
):
t
=
self
.
folder
.
t
t
.
write
(
open
(
'input/CheckWithXMLHeader.html'
).
read
())
expect
=
open
(
'output/CheckWithXMLHeader.html'
).
read
()
out
=
t
()
util
.
check_html
(
expect
,
out
)
def
checkNotExpression
(
self
):
t
=
self
.
folder
.
t
t
.
write
(
open
(
'input/CheckNotExpression.html'
).
read
())
expect
=
open
(
'output/CheckNotExpression.html'
).
read
()
out
=
t
()
util
.
check_html
(
expect
,
out
)
def
test_suite
():
return
unittest
.
makeSuite
(
HTMLTests
,
'check'
)
...
...
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