diff options
| author | alazaro | 2011-12-14 23:36:13 +0100 |
|---|---|---|
| committer | alazaro | 2011-12-14 23:36:13 +0100 |
| commit | 4a60575132b2221e9abca432bbef57611b629a97 (patch) | |
| tree | 483f07624fbdc3e8ae7f29ef3aab905927102c7d /djangorestframework/tests/description.py | |
| parent | 8cabab2703be3a2e21e79b945659a7b14df89e71 (diff) | |
| download | django-rest-framework-4a60575132b2221e9abca432bbef57611b629a97.tar.bz2 | |
Fixed test broken by markdown update
Removed unused code. No longer needed with markdown 2.1.0.
Diffstat (limited to 'djangorestframework/tests/description.py')
| -rw-r--r-- | djangorestframework/tests/description.py | 6 |
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): |
