Skip to content

Commit 5b898f3

Browse files
committed
Fixed #4995 -- Fixed some problems in documentation ReST formatting. Thanks, Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 650cea9 commit 5b898f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/testing.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ name of the test case to the label on the command line::
581581

582582
$ ./manage.py test animals.AnimalTestCase
583583

584-
**New in Django development version:**To run a single test method inside a
584+
**New in Django development version:** To run a single test method inside a
585585
test case, add the name of the test method to the label::
586586

587587
$ ./manage.py test animals.AnimalTestCase.testFluffyAnimals
@@ -681,12 +681,15 @@ can call it anything you want. The only requirement is that it has the
681681
same arguments as the Django test runner:
682682

683683
``run_tests(test_labels, verbosity=1, interactive=True, extra_tests=[])``
684+
684685
**New in Django development version:** ``test_labels`` is a list of
685686
strings describing the tests to be run. A test label can take one of
686687
three forms:
688+
687689
* ``app.TestCase.test_method`` - Run a single test method in a test case
688690
* ``app.TestCase`` - Run all the test methods in a test case
689691
* ``app`` - Search for and run all tests in the named application.
692+
690693
If ``test_labels`` has a value of ``None``, the test runner should run
691694
search for tests in all the applications in ``INSTALLED_APPS``.
692695

@@ -697,7 +700,7 @@ same arguments as the Django test runner:
697700
**New in Django development version:** If ``interactive`` is ``True``, the
698701
test suite may ask the user for instructions when the test suite is
699702
executed. An example of this behavior would be asking for permission to
700-
delete an existing test database. If ``interactive`` is ``False, the
703+
delete an existing test database. If ``interactive`` is ``False``, the
701704
test suite must be able to run without any manual intervention.
702705

703706
``extra_tests`` is a list of extra ``TestCase`` instances to add to the

0 commit comments

Comments
 (0)