summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorrowanv <rrvspam@gmail.com>2016-01-24 22:26:11 +0100
committerTim Graham <timograham@gmail.com>2016-02-01 10:42:05 -0500
commita6ef025dfb2a1d1bd23893408eef6d066fb506d9 (patch)
treeb29b3624a20cc65184c743102e0f5f620412105f /docs/topics/testing
parent8bf8d0e0ecc1805480deb94feb4675b09d3b3a95 (diff)
Fixed #26124 -- Added missing code formatting to docs headers.
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 fa2067553f..15fb226d2c 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -534,8 +534,8 @@ Methods
Testing utilities
-----------------
-django.test.utils
-~~~~~~~~~~~~~~~~~
+``django.test.utils``
+~~~~~~~~~~~~~~~~~~~~~
.. module:: django.test.utils
:synopsis: Helpers to write custom test runners.
@@ -555,8 +555,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
@@ -615,8 +615,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 c70b0b187d..e4fa3cee0f 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -617,8 +617,8 @@ Normal Python unit test classes extend a base class of
Hierarchy of Django unit testing classes
-SimpleTestCase
---------------
+``SimpleTestCase``
+------------------
.. class:: SimpleTestCase()
@@ -701,8 +701,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()
@@ -742,8 +742,8 @@ to test the effects of commit and rollback:
``TransactionTestCase`` inherits from :class:`~django.test.SimpleTestCase`.
-TestCase
---------
+``TestCase``
+------------
.. class:: TestCase()
@@ -811,8 +811,8 @@ additions, including:
.. _live-test-server:
-LiveServerTestCase
-------------------
+``LiveServerTestCase``
+----------------------
.. class:: LiveServerTestCase()