1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
derwinlu e50abb20b3 Add logging for warnings during test suite run
The default configuration for the warnings module changed some time ago
so we lost the ability to detect deprecation warnings and such early.

This commit sets up the test suite to redirect all warnings through our
logging system. Additionally we enable DeprecationWarnings as a default
and throw exceptions on all warnings related to pelican modules.

This enables output of warnings related to dependencies, while letting
tests only fail if the warnings are originating from pelican's source.

Also adding a test to detect if warnings cause an Exception as expected.
2015-10-22 09:45:04 +02:00
..
tests Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
themes Made name of blogroll/social widgets configurable. 2015-10-11 14:14:14 -04:00
tools Merge pull request #1753 from ingwinlu/flake8 2015-08-24 19:27:25 -07:00
__init__.py Add versioning information to debug output 2015-09-11 22:06:58 +02:00
cache.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
contents.py Add index and author replacement indicators 2015-09-19 13:49:19 +03:00
generators.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
log.py Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
paginator.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
readers.py Remove duplicate tags and authors in metadata 2015-08-26 12:07:38 +02:00
rstdirectives.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
server.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
settings.py Add index and author replacement indicators 2015-09-19 13:49:19 +03:00
signals.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
urlwrappers.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
utils.py Merge pull request #1828 from andreacorbellini/chr-to-unichr 2015-09-23 09:00:09 -07:00
writers.py Merge pull request #1797 from TC01/feeds_override 2015-08-31 20:17:59 -07:00