Commit 84752495 authored by Chris McDonough's avatar Chris McDonough

*** empty log message ***

parent da65d85c
<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>
<?xml version="1.0" ?>
<html>
<body tal:content="string:Hello!">
</body>
</html>
<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>
<?xml version="1.0" ?>
<html>
<body tal:content="string:Hello!">Hello!</body>
</html>
......@@ -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')
......
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