Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_client_regress/urls.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24773 -- Added a json() method on test client ↵Andy McKay2015-05-251-0/+1
| | | | responses.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+1
|
* Changed RedirectView.permanent to False per deprecation ↵Tim Graham2015-01-181-12/+12
| | | | timeline; refs #21587.
* Corrected deprecation warnings for RedirectView; refs ↵Berker Peksag2014-11-281-12/+12
| | | | #21587.
* Fixed #23682 -- Enhanced circular redirects detection in ↵wrwrwr2014-11-251-0/+1
| | | | | | | | | | | | | | | 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.
* Fixed #22369 -- Added count parameter to assertTemplateUsedJacob R. Rothenbuhler2014-04-141-0/+1
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-32/+32
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-12/+14
| | | | | | | | | | | | | This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose.
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Fixed #18356 -- Gave the test client ↵Bojan Mihelac2013-08-091-0/+1
| | | | | | | signals.template_rendered call a unique dispatch_uid This prevents the test client context from being lost when the client is used in a nested fashion.
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+0
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #20237 -- Reenabled assertContains with binary ↵Claude Paroz2013-04-111-0/+1
| | | | | | parameter Thanks Baptiste Mispelon for the review.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+38