Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_client_regress/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed dictionary and context_instance parameters for ↵Tim Graham2015-09-241-3/+2
| | | | | | render functions. Per deprecation timeline.
* Fixed #24720 -- Avoided resolving URLs that don't end in ↵Jay Cox2015-07-311-1/+1
| | | | | | a slash twice in CommonMiddleware. This speeds up affected requests by about 5%.
* Fixed #24773 -- Added a json() method on test client ↵Andy McKay2015-05-251-1/+5
| | | | responses.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Removed request.REQUEST per deprecation timeline; refs ↵Tim Graham2015-01-171-6/+0
| | | | #18659.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-6/+2
|
* Fixed #23682 -- Enhanced circular redirects detection in ↵wrwrwr2014-11-251-0/+7
| | | | | | | | | | | | | | | 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/+7
|
* Fixed #21774 -- Isolate all test urls from eachother.Marc Tamlyn2014-01-141-2/+2
| | | | | | | | | | | | | 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.
* Fixing E302 ErrorsJason Myers2013-11-031-0/+18
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
|
* Removed unused local variables in tests.Tim Graham2013-10-191-1/+1
|
* Fixed #18659 -- Deprecated request.REQUEST and MergeDictBouke Haarsma2013-10-171-6/+14
| | | | Thanks Aymeric Augustin for the suggestion.
* Fixed #18356 -- Gave the test client ↵Bojan Mihelac2013-08-091-1/+12
| | | | | | | 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.
* Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-261-2/+5
| | | | | | | | | | | | SuspiciousOperation. SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
* Fixed #20237 -- Reenabled assertContains with binary ↵Claude Paroz2013-04-111-0/+5
| | | | | | parameter Thanks Baptiste Mispelon for the review.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+108