Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#20274 closed Cleanup/optimization (fixed)

Missing create_test_db & destroy_test_db in django.test.utils

Reported by: anonymous Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/dev/topics/testing/advanced/

Under Testing utilities
There are two functions, create_test_db & destroy_test_db, that do not exist in the django.test.utils but show up in the doc.

Change History (3)

comment:1 by Claude Paroz, 11 years ago

Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

These two functions are preceded by the following paragraph which explains their origin:
The creation module of the database backend (connection.creation) also provides some utilities that can be useful during testing.

It might not be very clear at first sight that this sentence introduces the following function documentations. Maybe just ending the sentence with : would be enough?

comment:2 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In e88680899490b9ed8b58c88ee78dc189506204c5:

Fixed #20274 - Added some clarifying section headings in the test docs.

comment:3 by Tim Graham <timograham@…>, 11 years ago

In 1ef423b003c9ead08a00fdba54507e95539a5734:

[1.5.x] Fixed #20274 - Added some clarifying section headings in the test docs.

Backport of e886808994 from master

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