Log message for revision 70918:
  Add a TAL attribute test

Changed:
  A   
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/input/Attributes.html
  A   
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/output/Attributes.html
  U   Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testHTMLTests.py

-=-
Added: 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/input/Attributes.html
===================================================================
--- 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/input/Attributes.html 
    2006-10-26 03:31:32 UTC (rev 70917)
+++ 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/input/Attributes.html 
    2006-10-26 15:36:20 UTC (rev 70918)
@@ -0,0 +1,7 @@
+<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>

Added: 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/output/Attributes.html
===================================================================
--- 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/output/Attributes.html
    2006-10-26 03:31:32 UTC (rev 70917)
+++ 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/output/Attributes.html
    2006-10-26 15:36:20 UTC (rev 70918)
@@ -0,0 +1,7 @@
+<html>
+<head></head>
+<body>
+<p></p>
+<p disabled="disabled"></p>
+</body>
+</html>

Modified: 
Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testHTMLTests.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testHTMLTests.py  
2006-10-26 03:31:32 UTC (rev 70917)
+++ Zope/branches/2.9/lib/python/Products/PageTemplates/tests/testHTMLTests.py  
2006-10-26 15:36:20 UTC (rev 70918)
@@ -156,6 +156,9 @@
         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')
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to