#15896: unittest docs say import django.utils, should be djanto.test
--------------------------------------+-------------------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: reopened
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
--------------------------------------+-------------------------------
Changes (by RoySmith):
* status: closed => reopened
* resolution: invalid =>
Comment:
Hmm, OK, I read this a little more carefully and see what had me going.
The docs say:
from django.utils import unittest
but the sample tests.py file says:
from django.test import TestCase
this is a little confusing. It would be more obvious if the sample and
the docs did it the same way.
--
Ticket URL: <http://code.djangoproject.com/ticket/15896#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.