Commit bd64cd26 authored by Wichert Akkerman's avatar Wichert Akkerman

Add a TAL attribute test

parent 22c94db4
<html>
<head></head>
<body>
<p tal:attributes="disabled python:True and default or 'disabled'"></p>
<p tal:attributes="disabled python:False and default or 'disabled'"></p>
</body>
</html>
<html>
<head></head>
<body>
<p></p>
<p disabled="disabled"></p>
</body>
</html>
......@@ -156,6 +156,9 @@ class HTMLTests(unittest.TestCase):
self.assert_expected(self.folder.t, 'CheckI18nTranslateHooked.html')
setGlobalTranslationService(old_ts)
def checkAttributes(self):
self.assert_expected(self.folder.t, 'Attributes.html')
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