diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index bb787be..6e5d0d3 100644
a
|
b
|
class AdminDocsTest(TestCase):
|
2181 | 2181 | self.client.logout() |
2182 | 2182 | |
2183 | 2183 | def test_tags(self): |
| 2184 | try: |
| 2185 | import docutils |
| 2186 | except ImportError: |
| 2187 | return # skip this test if no docutils are installed |
| 2188 | |
2184 | 2189 | response = self.client.get('/test_admin/admin/doc/tags/') |
2185 | 2190 | |
2186 | 2191 | # The builtin tag group exists |
… |
… |
class AdminDocsTest(TestCase):
|
2199 | 2204 | self.assertContains(response, '<li><a href="#admin_actions">admin_actions</a></li>') |
2200 | 2205 | |
2201 | 2206 | def test_filters(self): |
| 2207 | try: |
| 2208 | import docutils |
| 2209 | except ImportError: |
| 2210 | return # skip this test if no docutils are installed |
| 2211 | |
2202 | 2212 | response = self.client.get('/test_admin/admin/doc/filters/') |
2203 | 2213 | |
2204 | 2214 | # The builtin filter group exists |