#17312: Testing examples should use django.utils.TestCase
-------------------------------------+-------------------------------------
Reporter: jcspray@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: SVN
Component: Documentation | Resolution:
Severity: Normal | Triage Stage: Design
Keywords: | decision needed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* stage: Accepted => Design decision needed
Comment:
Within Django itself, the convention is to use `unittest.TestCase` for
tests that don't need `django.test.TestCase`, although I'm not entirely
sure about the reason (performance?).
I'd like to see a benchmark before recommending to use
`django.test.TestCase` unilaterally.
--
Ticket URL: <https://code.djangoproject.com/ticket/17312#comment:3>
Django <https://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.