1
0
mirror of https://github.com/django/django.git synced 2025-01-10 10:26:34 +00:00
django/tests/test_client_regress
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
..
bad_templates
templates
__init__.py
auth_backends.py
context_processors.py
models.py
session.py Fixed #25682 -- Removed bare except clauses. 2015-11-17 14:39:15 -05:00
tests.py [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
urls.py Fixed #24773 -- Added a json() method on test client responses. 2015-05-25 10:42:30 -04:00
views.py Refs #25969 -- Replaced usage of render_to_response() with render() in tests. 2015-12-23 09:06:13 -05:00