Code

Opened 6 years ago

Closed 6 years ago

#6985 closed (invalid)

Rename django.test.TestCase to django.test.testcases.TestCase ? (SVN version)

Reported by: r. Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the documentation file: http://www.djangoproject.com/documentation/testing/

Secion: TestCase / DEFAULT TEST CLIENT

…you can just refer to self.client, like so:

from django.test import TestCase

should it be:

from django.test.testcases import TestCase

--
Django installation Updated to revision 7409.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

from django.test import TestCase is a shortcut, and it works fine as far as I can tell.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.