1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/tests/regressiontests/utils
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
..
eggs Fixed #13464 -- Reworked module_has_submodule to break the requirement for loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. 2010-05-04 06:14:47 +00:00
test_module Fixed #13464 -- Reworked module_has_submodule to break the requirement for loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. 2010-05-04 06:14:47 +00:00
__init__.py Fixed #4310 -- Fixed a regular expression bug in strip_entities function and added tests for several django.utils.html functions. Based on patch from Brian Harring. 2007-07-15 05:03:28 +00:00
baseconv.py Fixed #12417 -- Added signing functionality, including signing cookies. Many thanks to Simon, Stephan, Paul and everyone else involved. 2011-05-21 14:41:14 +00:00
checksums.py A few test optimizations; using native unittest where no Django-specific TestCase features are required. 2010-09-28 08:18:12 +00:00
datastructures.py 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
dateformat.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
datetime_safe.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
decorators.py Fixed #14506 -- Added an assertion to XViewMiddleware about the dependency on the authentication middleware. Thanks, vanschelven. 2011-07-03 17:56:25 +00:00
feedgenerator.py Fixed #15237 -- Always set charset of Atom1 feeds to UTF-8. Thanks, Simon and jasonkotenko. 2011-02-12 19:12:14 +00:00
functional.py Fixed #9200 -- Added new form wizard to formtools based on class based views. Many thanks to Stephan Jäkel, ddurham and ElliottM for their work. 2011-06-01 13:47:00 +00:00
html.py Fixed #7267 - UnicodeDecodeError in clean_html 2011-04-28 14:08:53 +00:00
http.py Fixed #9089 -- Correctly handle list values in MultiValueDict instances when passed to django.utils.http.urlencode. Thanks, kratorius, guettli and obeattie. 2011-04-22 12:01:41 +00:00
ipv6.py Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks to Erik Romijn. 2011-06-11 13:48:24 +00:00
jslex.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
models.py Fixed #4310 -- Fixed a regular expression bug in strip_entities function and added tests for several django.utils.html functions. Based on patch from Brian Harring. 2007-07-15 05:03:28 +00:00
module_loading.py Fixed #15662 -- Made sure the module_has_submodule utility function follow correct PEP 302, passing the package as the second argument to the find_module method of the importer. Thanks, Bradley Ayers. 2011-04-22 12:03:18 +00:00
simplelazyobject.py Tweaked test added in [16308] so it doesn't fail. 2011-06-01 22:09:50 +00:00
termcolors.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
tests.py Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks to Erik Romijn. 2011-06-11 13:48:24 +00:00
text.py Fixed #5025 -- Add a "truncatechars" template filter. Many thanks to Chris Beaven. 2011-07-14 13:47:10 +00:00
timesince.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
tzinfo.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