Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/logging_tests
Commit message (Collapse)AuthorAgeFilesLines
* Refs #24526 -- Made the django logger handle INFO messages.Tim Graham2015-09-231-1/+29
| | | | | | | Without an explicit 'level', only messages at WARNING or higher are handled. This makes the config consistent with the docs which say, "The django catch-all logger sends all messages at the INFO level or higher to the console."
* Fixed #25099 -- Fixed crash in AdminEmailHandler on ↵Vlastimil Zíma2015-09-041-0/+19
| | | | DisallowedHost.
* Fixed #25099 -- Cleaned up HttpRequest representations ↵Vlastimil Zíma2015-07-141-2/+2
| | | | in error reporting.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-8/+8
|
* Fixed #24526 -- Combined django.request/security loggers ↵Tim Graham2015-04-241-15/+6
| | | | | | with the root logger. Thanks Carl Meyer for review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-6/+5
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-8/+8
|
* Removed the validate management command per deprecation ↵Tim Graham2015-01-181-2/+2
| | | | timeline.
* Fixed #24095 -- Prevented WarningLoggerTests from ↵Tim Graham2015-01-081-7/+10
| | | | leaking a warnings filter.
* Fixed #23923 -- Promoted Django's deprecation warnings ↵Tim Graham2014-11-291-0/+1
| | | | to errors in runtests.py
* Fixed #22407 -- Added AdminEmailHandler.send_mail().Berker Peksag2014-11-151-2/+19
|
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-4/+4
| | | | Django test suite.
* Fixed #23653 -- Fixed Windows failure of a logging test ↵Tim Graham2014-10-221-2/+2
| | | | added in refs #23569.
* Fix SettingsCustomLoggingTest on Windows when path ↵Michael Manfre2014-10-211-1/+1
| | | | contains \u
* Fixed #23593 -- Fixed crash in AdminEmailHandler with ↵Tim Graham2014-10-061-0/+21
| | | | | | non-ASCII characters in request. Thanks edevil for the report and Simon Charette for review.
* Fixed #23569 -- Allowed using configs besides dictConfig ↵Seth Hill2014-09-301-1/+42
| | | | in LOGGING_CONFIG.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-3/+1
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-3/+3
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Added test about error filterwarningsClaude Paroz2014-03-081-0/+10
| | | | Refs #20083.
* Avoided changing raw DeprecationWarning filter behaviorClaude Paroz2014-03-081-4/+5
| | | | | Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
* Fixed #21849 -- Included the count of silenced system ↵Tim Graham2014-01-281-1/+1
| | | | checks in output.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-1/+1
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Prevented calling setup() inside catch_warningsClaude Paroz2014-01-011-2/+2
| | | | | | When django.setup() (and then configure_logging) is called inside catch_warnings, logging setup is negatively affected (notably warnings.showwarning definition).
* Fixed #21714 -- Moved logging configuration to global ↵Claude Paroz2013-12-311-7/+5
| | | | | | setup() Thanks Aymeric Augustin for the report and the review.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+2
|
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-0/+0
| | | | | | | 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.
* Fixed #21383 -- Added request details in ↵Claude Paroz2013-11-091-0/+9
| | | | SuspiciousOperation messages
* PEP8 cleanupJason Myers2013-11-031-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-3/+0
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-13/+13
|
* Removed unused local variables in tests.Tim Graham2013-10-191-2/+2
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-6/+6
|
* Combine consecutive with statementsClaude Paroz2013-08-161-10/+9
| | | | Python 2.7 allows to combine several 'with' instructions.
* Fixed #20746 -- Removed Python 2.6 specific code/docsTim Graham2013-07-141-2/+0
|
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-263-2/+43
| | | | | | | | | | | | 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.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-1/+1
| | | | Gives much nicer errors when it fails.
* Correctly restore warning capture after logging tests.Jacob Kaplan-Moss2013-03-271-2/+4
| | | | This is a fix to the wrong behavior that 15c3906eeb introduced.
* Fixed logging-related test failure introduced by e79b857.Jacob Kaplan-Moss2013-03-271-0/+9
|
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-4/+4
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-264-0/+360