Opened 13 years ago

Closed 13 years ago

#16608 closed Bug (fixed)

Typo in the doc (Testing Django)

Reported by: Stan <stan__at__slashdev.me> Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: test
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Maybe this is because my works environment is noisy (and also because english is not my mother tongue) but the following sounds strange to me:

https://docs.djangoproject.com/en/dev/topics/testing/#django.test.utils.setup_test_environment

destroy_test_db(old_database_name, verbosity=1)

Destroys the database whose name is in stored in NAME in the DATABASES, and sets NAME to use the provided name.

verbosity has the same behavior as in run_tests().

Attachments (1)

16608.typo-testing-doc.diff (939 bytes ) - added by Julien Phalip 13 years ago.

Download all attachments as: .zip

Change History (4)

by Julien Phalip, 13 years ago

Attachment: 16608.typo-testing-doc.diff added

comment:1 by Julien Phalip, 13 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 by Aymeric Augustin, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Gabriel Hurley, 13 years ago

Resolution: fixed
Status: newclosed

In [16625]:

Fixed #16608 -- Clarified the description of the destroy_test_db method and cleaned up various other reST/Sphinx-related bits in the testing docs. Thanks to Stan for the report and Julien for the draft patch.

Note: See TracTickets for help on using tickets.
Back to Top