mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #26124 -- Added missing code formatting to docs headers.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user