[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZReST/tests/test_ZReST.py adjusted test to changed HTML generation in docutils 0.4.0

Andreas Jung andreas at andreas-jung.com
Mon Mar 13 09:35:23 EST 2006


Log message for revision 65951:
  adjusted test to changed HTML generation in docutils 0.4.0
  

Changed:
  U   Zope/trunk/lib/python/Products/ZReST/tests/test_ZReST.py

-=-
Modified: Zope/trunk/lib/python/Products/ZReST/tests/test_ZReST.py
===================================================================
--- Zope/trunk/lib/python/Products/ZReST/tests/test_ZReST.py	2006-03-13 14:33:08 UTC (rev 65950)
+++ Zope/trunk/lib/python/Products/ZReST/tests/test_ZReST.py	2006-03-13 14:35:23 UTC (rev 65951)
@@ -53,10 +53,10 @@
         resty.render()
         html = resty.index_html()
 
-        s = '<h1><a name="hello-world">Hello World</a></h1>'
+        s = '<h1><a id="hello-world" name="hello-world">Hello World</a></h1>'
         self.assertEqual(s in html, True)
 
-        s = '<h1><a name="von-v-geln-und-fen">Von Vögeln und Öfen</a></h1>'
+        s = '<h1><a id="von-v-geln-und-fen" name="von-v-geln-und-fen">Von Vögeln und Öfen</a></h1>'
         self.assertEqual(s in html, True)
 
         # ZReST should render a complete HTML document



More information about the Zope-Checkins mailing list