Opened 5 years ago

Closed 5 years ago

Last modified 5 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: master
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


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 Changed 5 years ago by Claude Paroz

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 Changed 5 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In e88680899490b9ed8b58c88ee78dc189506204c5:

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

comment:3 Changed 5 years ago by Tim Graham <timograham@…>

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