diff options
| author | Tim Graham <timograham@gmail.com> | 2016-02-01 11:54:26 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-01 11:54:26 -0500 |
| commit | a9fbf0735a213109ef4b02e02ff3e458b6a25929 (patch) | |
| tree | c9ac521f09711d087e1c501b8427bb102d268fed /docs/topics/testing | |
| parent | d7a6086825d4a308955e792f65fdd9b5f714a505 (diff) | |
[1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 12 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 16 |
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() |
