diff options
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 7e65a896f2..455c121acd 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -325,8 +325,8 @@ following structure:: Let's take a look inside a couple of those files: -.. snippet:: - :filename: runtests.py +.. code-block:: python + :caption: runtests.py #!/usr/bin/env python import os @@ -353,8 +353,8 @@ necessary to use the Django test runner. You may want to add command-line options for controlling verbosity, passing in specific test labels to run, etc. -.. snippet:: - :filename: tests/test_settings.py +.. code-block:: python + :caption: tests/test_settings.py SECRET_KEY = 'fake-key' INSTALLED_APPS = [ |
