1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
django/tests
Russell Keith-Magee afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. 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
2011-03-03 15:04:39 +00:00
..
modeltests Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
regressiontests Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
templates Fixed #13897 -- Added tests for pagination feature of the generic object_list view. Thanks, d0ugal and SmileyChris. 2010-10-01 02:01:20 +00:00
runtests.py Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
test_sqlite.py Corrected the way databases were compared. This allows running the test suite with two in memory SQLite databases. 2010-11-19 08:08:08 +00:00
urls.py Fixed #14774 -- the test client and assertNumQueries didn't work well together. Thanks to Jonas Obrist for the initial patch. 2011-01-20 04:47:47 +00:00