Opened 23 months ago

Closed 22 months ago

Last modified 22 months 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

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 Changed 23 months ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Bug to Cleanup/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 22 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In e88680899490b9ed8b58c88ee78dc189506204c5:

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

comment:3 Changed 22 months 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