summaryrefslogtreecommitdiff
path: root/tests/middleware_exceptions
AgeCommit message (Collapse)Author
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-21Removed unused views in middleware_exceptions tests.Tim Graham
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
2018-11-20Tested a middleware's process_template_response() returning None.Tim Graham
2018-05-07Replaced django.test.utils.patch_logger() with assertLogs().Claude Paroz
Thanks Tim Graham for the review.
2017-02-27Imported django.http classes instead of django.http.Asif Saifuddin Auvi
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-07-25Fixed #26915 -- Fixed regression handling responses returned from view ↵Alex Hill
middleware.
2016-06-17Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵Carl Meyer
exception handling.
2016-06-17Moved old-middleware tests in preparation for adding new tests.Carl Meyer
2016-06-17Improved debugging of failed middleware_exceptions tests.Carl Meyer
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-03Fixed #24877 -- Added middleware handling of response.render() errors.Sylvain Fankhauser
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-12Accounted for multiple template engines in template responses.Aymeric Augustin
2014-11-27Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.Berker Peksag
2014-06-07Fixed #6992 -- Improved error when middleware omits HttpResponse.Aymeric Augustin
Thanks guettli for the report.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-02-15Fixed #21912 -- Improved error message if a view returns None.Aaron France
Thanks brycenesbitt for the report.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-17Removed superfluous models.py files.Aymeric Augustin
Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed flake8 E241Boryslav Larin
2013-10-21Removed some direct settings manipulations in tests; refs #21230.Bouke Haarsma
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner