Commit 708ff36d authored by Andreas Jung's avatar Andreas Jung

adjusted test to changed HTML generation in docutils 0.4.0

parent 84d0d7ed
...@@ -53,10 +53,10 @@ class TestZReST(unittest.TestCase): ...@@ -53,10 +53,10 @@ class TestZReST(unittest.TestCase):
resty.render() resty.render()
html = resty.index_html() 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) self.assertEqual(s in html, True)
s = '<h1><a name="von-v-geln-und-fen">Von Vgeln und fen</a></h1>' s = '<h1><a id="von-v-geln-und-fen" name="von-v-geln-und-fen">Von Vgeln und fen</a></h1>'
self.assertEqual(s in html, True) self.assertEqual(s in html, True)
# ZReST should render a complete HTML document # ZReST should render a complete HTML document
......
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