emphasize the importance of 'from django.test import TestCase'
|Reported by:||lawgon||Owned by:||ShawnMilo|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
On reading the dev docs on tests one starts of with importing unittest either directly or from django.utils. The docs should clearly specify at the beginning that the optimal way is to do from django.test import TestCase as this will automatically import unittest2 as well as all the goodies.
Change History (14)
comment:1 Changed 3 years ago by MikeRamirez
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
Changed 3 years ago by ShawnMilo
comment:11 Changed 3 years ago by SmileyChris
- Resolution set to fixed
- Status changed from new to closed