django1/tests/test_client_regress
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
..
bad_templates Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
fixtures Whitespace cleanup. 2013-10-10 16:49:20 -04:00
templates Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
auth_backends.py Fixed #22771 -- Fixed test.Client.logout when using custom auth backend. 2014-06-13 13:03:58 -04:00
context_processors.py Simplified caching of template context processors. 2014-11-19 21:35:39 +01:00
models.py Fixed #18924 -- Made test.Client.logout send user_logged_out signal. 2013-06-04 12:39:09 -04:00
session.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
tests.py Fixed #23682 -- Enhanced circular redirects detection in tests. 2014-11-25 10:12:28 -05:00
urls.py Fixed #23682 -- Enhanced circular redirects detection in tests. 2014-11-25 10:12:28 -05:00
views.py Fixed #23682 -- Enhanced circular redirects detection in tests. 2014-11-25 10:12:28 -05:00