1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests
Ramiro Morales 326949e444 Fixed #14503 -- Unified multiple implementations of test cases assert* methods that verify a given exception is raised by a callable throughout the Django test suite.
Replaced them with a new assertRaisesMessage method of a new SimpleTestCase, a lightweight subclass of unittest.TestCase. Both are also available for usage in user tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 00:42:08 +00:00
..
modeltests Fixed #4617 -- Added raise_exception option to permission_required decorator to be able to raise a PermissionDenied exception instead of redirecting to the login page. 2011-08-12 14:15:41 +00:00
regressiontests Fixed #14503 -- Unified multiple implementations of test cases assert* methods that verify a given exception is raised by a callable throughout the Django test suite. 2011-08-13 00:42:08 +00:00
templates
runtests.py Set STATIC_ROOT in test runner settings to make sure the admin tests pass. Thanks to Julien Phalip for the report. 2011-08-12 08:43:52 +00:00
test_sqlite.py
urls.py Changed utils/decorators.py tests to use RequestFactory 2011-05-23 16:08:45 +00:00