summaryrefslogtreecommitdiff
path: root/tests/admin_docs
diff options
context:
space:
mode:
authorZan Anderle <zan.anderle@gmail.com>2015-08-31 06:49:12 +0200
committerTim Graham <timograham@gmail.com>2015-09-07 15:07:47 -0400
commit29d52583e77b247aceeb2f514177a8a6c21ed786 (patch)
tree70fd1b57d0bfe2b8167e45ebe5d0b94bf753c121 /tests/admin_docs
parentf3dc173240d2a91c831b08dd6820e1d83322f3da (diff)
downloaddjango-29d52583e77b247aceeb2f514177a8a6c21ed786.tar.gz
Removed 'Test that' prefix from admindocs tests.
Diffstat (limited to 'tests/admin_docs')
-rw-r--r--tests/admin_docs/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_docs/tests.py b/tests/admin_docs/tests.py
index ff860f9929..0a2ec012aa 100644
--- a/tests/admin_docs/tests.py
+++ b/tests/admin_docs/tests.py
@@ -206,7 +206,7 @@ class DefaultRoleTest(AdminDocsTestCase):
def test_parse_rst(self):
"""
- Tests that ``django.contrib.admindocs.utils.parse_rst`` uses
+ ``django.contrib.admindocs.utils.parse_rst`` should use
``cmsreference`` as the default role.
"""
markup = ('<p><a class="reference external" href="/admindocs/%s">'
@@ -224,7 +224,7 @@ class DefaultRoleTest(AdminDocsTestCase):
def test_publish_parts(self):
"""
- Tests that Django hasn't broken the default role for interpreted text
+ Django shouldn't break the default role for interpreted text
when ``publish_parts`` is used directly, by setting it to
``cmsreference``. See #6681.
"""
@@ -250,9 +250,9 @@ class TestModelDetailView(TestDataMixin, AdminDocsTestCase):
def test_method_excludes(self):
"""
- Test that methods that begin with strings defined in
+ Methods that begin with strings defined in
``django.contrib.admindocs.views.MODEL_METHODS_EXCLUDE``
- do not get displayed in the admin docs
+ should not get displayed in the admin docs.
"""
self.assertContains(self.response, "<td>get_full_name</td>")
self.assertNotContains(self.response, "<td>_get_full_name</td>")