aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/description.py
diff options
context:
space:
mode:
authorMarko Tibold2011-12-15 23:05:30 +0100
committerMarko Tibold2011-12-15 23:05:30 +0100
commit1c8b40fb5f4744bc0bfa4448075eeed193ab950c (patch)
tree9d9350c54f523569b377bbef942ba919d0e75b37 /djangorestframework/tests/description.py
parentc1858a2a9ab86dae4d4172a6b38a18a662e2530b (diff)
parent4a60575132b2221e9abca432bbef57611b629a97 (diff)
downloaddjango-rest-framework-1c8b40fb5f4744bc0bfa4448075eeed193ab950c.tar.bz2
Merge branch 'master' of https://github.com/alazaro/django-rest-framework into alazaro-master
Diffstat (limited to 'djangorestframework/tests/description.py')
-rw-r--r--djangorestframework/tests/description.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/djangorestframework/tests/description.py b/djangorestframework/tests/description.py
index 1ce29112..17bb4330 100644
--- a/djangorestframework/tests/description.py
+++ b/djangorestframework/tests/description.py
@@ -20,16 +20,16 @@ indented
# hash style header #"""
# If markdown is installed we also test it's working (and that our wrapped forces '=' to h2 and '-' to h3)
-MARKED_DOWN = """<h2>an example docstring</h2>
+MARKED_DOWN = """<h2 id="an-example-docstring">an example docstring</h2>
<ul>
<li>list</li>
<li>list</li>
</ul>
-<h3>another header</h3>
+<h3 id="another-header">another header</h3>
<pre><code>code block
</code></pre>
<p>indented</p>
-<h2 id="hash_style_header">hash style header</h2>"""
+<h2 id="hash-style-header">hash style header</h2>"""
class TestViewNamesAndDescriptions(TestCase):