mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
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
This commit is contained in:
parent
a539d434d9
commit
326949e444
13 changed files with 299 additions and 292 deletions
|
@ -480,7 +480,7 @@ setting_changed
|
|||
.. data:: django.test.signals.setting_changed
|
||||
:module:
|
||||
|
||||
Sent when some :ref:`settings are overridden <overriding-setting>` with the
|
||||
Sent when some :ref:`settings are overridden <overriding-settings>` with the
|
||||
:meth:`django.test.TestCase.setting` context manager or the
|
||||
:func:`django.test.utils.override_settings` decorator/context manager.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue