summaryrefslogtreecommitdiff
path: root/django/utils/unittest/case.py
AgeCommit message (Collapse)Author
2013-07-01Fixed #20680 -- Deprecated django.utils.unittest.Aymeric Augustin
Refs #19204.
2012-12-24Fixed #19204 -- Replaced python2-style exception syntax.Florian Apolloner
Thanks to garrison for the report and patch.
2012-01-27Fixed #15828 -- Removed explicit implementation of empty setUp / tearDown ↵Aymeric Augustin
methods. Backport of http://hg.python.org/unittest2/rev/3d33f92496fa. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-26Fixed #15635 -- Converted two legacy old-style raise statements. Thanks, ↵Adrian Holovaty
DaNmarner git-svn-id: http://code.djangoproject.com/svn/django/trunk@15917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14Fixed #15609 -- Fixed some 'raise' statements to use the newer style syntax. ↵Adrian Holovaty
Thanks, DaNmarner git-svn-id: http://code.djangoproject.com/svn/django/trunk@15811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft ↵Russell Keith-Magee
patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37