django1/tests/validation
Tim Graham 567cfc1601 [1.10.x] Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.

Backport of c9ae09addf from master
2016-07-01 09:58:56 -04:00
..
__init__.py Fixed #22539 -- Copied exclude argument in Model.full_clean() to prevent side effects. 2014-05-01 09:28:11 -04:00
models.py Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for form/model fields. 2016-04-22 09:38:47 +07:00
test_custom_messages.py Whitespace cleanup. 2013-10-10 16:49:20 -04:00
test_error_messages.py Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
test_picklable.py Fixed #21555 -- Made ValidationError pickable. 2013-12-07 18:58:37 +07:00
test_unique.py [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
test_validators.py Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for form/model fields. 2016-04-22 09:38:47 +07:00
tests.py [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00