summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/advanced.txt12
-rw-r--r--docs/topics/testing/tools.txt16
2 files changed, 14 insertions, 14 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index bc23d2020c..5c84393182 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -556,8 +556,8 @@ Methods
Testing utilities
-----------------
-django.test.utils
-~~~~~~~~~~~~~~~~~
+``django.test.utils``
+~~~~~~~~~~~~~~~~~~~~~
.. module:: django.test.utils
:synopsis: Helpers to write custom test runners.
@@ -577,8 +577,8 @@ utility methods in the ``django.test.utils`` module.
magic hooks into the template system and restoring normal email
services.
-django.db.connection.creation
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+``django.db.connection.creation``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. currentmodule:: django.db.connection.creation
@@ -645,8 +645,8 @@ can be useful during testing.
.. _topics-testing-code-coverage:
-Integration with coverage.py
-============================
+Integration with ``coverage.py``
+================================
Code coverage describes how much source code has been tested. It shows which
parts of your code are being exercised by tests and which are not. It's an
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index dafaa8b5c7..32c6961d51 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -626,8 +626,8 @@ Normal Python unit test classes extend a base class of
Hierarchy of Django unit testing classes
-SimpleTestCase
---------------
+``SimpleTestCase``
+------------------
.. class:: SimpleTestCase()
@@ -711,8 +711,8 @@ then you should use :class:`~django.test.TransactionTestCase` or
:exc:`unittest.SkipTest` in ``setUpClass()``, be sure to do it before
calling ``super()`` to avoid this.
-TransactionTestCase
--------------------
+``TransactionTestCase``
+-----------------------
.. class:: TransactionTestCase()
@@ -760,8 +760,8 @@ to test the effects of commit and rollback:
``TransactionTestCase`` inherits from :class:`~django.test.SimpleTestCase`.
-TestCase
---------
+``TestCase``
+------------
.. class:: TestCase()
@@ -831,8 +831,8 @@ additions, including:
.. _live-test-server:
-LiveServerTestCase
-------------------
+``LiveServerTestCase``
+----------------------
.. class:: LiveServerTestCase()