Opened 5 years ago

Closed 5 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: master
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 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Julien Phalip

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

comment:1 Changed 5 years ago by Julien Phalip

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by Aymeric Augustin

Triage Stage: AcceptedReady for checkin

comment:3 Changed 5 years ago by Gabriel Hurley

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