django/django/test
wrwrwr 056a3c6c37 Fixed #23682 -- Enhanced circular redirects detection in tests.
When the test client detects a redirect to a URL seen in the
currently followed chain it will now raise a RedirectCycleError
instead of just returning the first repeated response.

It will also complain when a single chain of redirects is longer
than 20, as this often means a redirect loop with varying URLs,
and even if it's not actually one, such long chains are likely
to be treated as loops by browsers.

Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews.
2014-11-25 10:12:28 -05:00
..
__init__.py Fixed #16905 -- Added extensible checks (nee validation) framework 2014-01-20 10:45:21 +08:00
client.py Fixed #23682 -- Enhanced circular redirects detection in tests. 2014-11-25 10:12:28 -05:00
html.py Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
runner.py Fixed #23742 -- Added an option to reverse tests order. 2014-11-24 19:24:11 -05:00
signals.py Encapsulated TEMPLATE_DEBUG in Engine. 2014-11-23 11:54:17 +01:00
testcases.py Fixed negligible formatting error. 2014-11-10 21:41:35 +01:00
utils.py Removed override_template_loaders and override_with_test_loader. 2014-11-16 21:40:50 +01:00