aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/description.py
diff options
context:
space:
mode:
authorMarko Tibold2011-12-30 01:37:32 +0100
committerMarko Tibold2011-12-30 01:37:32 +0100
commit1b28339e5b733a0422c2bcd06b39e289bc98f69b (patch)
tree9e766f4f9d9ec596bc0e2702e1bb291b90aa3a93 /djangorestframework/tests/description.py
parent91cee26ad89c04a70f33ae334150dd127f900474 (diff)
parenta0c4dca9462c738aac3c712607997b9bd1f7b2c8 (diff)
downloaddjango-rest-framework-1b28339e5b733a0422c2bcd06b39e289bc98f69b.tar.bz2
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'djangorestframework/tests/description.py')
-rw-r--r--djangorestframework/tests/description.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/djangorestframework/tests/description.py b/djangorestframework/tests/description.py
index c0424c24..56dcdfab 100644
--- a/djangorestframework/tests/description.py
+++ b/djangorestframework/tests/description.py
@@ -19,7 +19,7 @@ indented
# hash style header #"""
-# If markdown is installed we also test it's working
+# If markdown is installed we also test it's working
# (and that our wrapped forces '=' to h2 and '-' to h3)
# We support markdown < 2.1 and markdown >= 2.1
@@ -69,16 +69,16 @@ class TestViewNamesAndDescriptions(TestCase):
* list
* list
-
+
another header
--------------
code block
indented
-
+
# hash style header #"""
-
+
self.assertEquals(get_description(MockView()), DESCRIPTION)
# This has been turned off now
@@ -89,7 +89,7 @@ class TestViewNamesAndDescriptions(TestCase):
# """docstring"""
# description = example
# self.assertEquals(get_description(MockView()), example)
-
+
#def test_resource_description_does_not_require_docstring(self):
# """Ensure that empty docstrings do not affect the Resource's description if it has been set using the 'description' class attribute."""
# example = 'Some other description'
@@ -102,7 +102,7 @@ class TestViewNamesAndDescriptions(TestCase):
class MockView(View):
pass
self.assertEquals(get_description(MockView()), '')
-
+
def test_markdown(self):
"""Ensure markdown to HTML works as expected"""
if apply_markdown: