pelican/pelican/tests
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
..
content Remove duplicate tags and authors in metadata 2015-08-26 12:07:38 +02:00
mixed_content Make StaticGenerator skip content sources. Refs #1019. 2014-10-31 16:46:01 -07:00
nested_content/maindir Make PAGE_EXCLUDES work with subdirs. Fixes #1500. 2014-11-01 17:38:20 -07:00
output Made name of blogroll/social widgets configurable. 2015-10-11 14:14:14 -04:00
TestPages Generate {tag}-style links on pages correctly. Fixes #1513 2015-01-02 01:20:57 -07:00
__init__.py Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
default_conf.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
support.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_cache.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_contents.py Add index and author replacement indicators 2015-09-19 13:49:19 +03:00
test_generators.py Remove duplicate tags and authors in metadata 2015-08-26 12:07:38 +02:00
test_importer.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_paginator.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_pelican.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_readers.py Remove duplicate tags and authors in metadata 2015-08-26 12:07:38 +02:00
test_rstdirectives.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_settings.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_testsuite.py Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
test_urlwrappers.py Add index and author replacement indicators 2015-09-19 13:49:19 +03:00
test_utils.py Use unichr() instead of chr() with Python 2. 2015-09-22 23:25:24 +02:00