pelican/pelican/tests
W. Trevor King c8e7d95b34 tests.support: Use kwargs overrides in get_settings()
This avoids harcoding test-specific overrides, and makes it easy to
setup a settings dictionary based on DEFAULT_CONFIG for testing.
Because you can trust Pelican to use settings based on DEFAULT_CONFIG,
you are free to go about using:

  settings[my_key]

instead of:

  settings.get(my_key, some_fallback)

or:

  if my_key in settings:
      ...

if you know that `my_key` is in DEFAULT_CONFIG.
2013-06-02 14:24:27 -04:00
..
content Markdown summary should not include content footnote 2013-05-10 03:50:33 -04:00
output Update tests output with feedgenerator 1.6 2013-06-02 16:21:10 +02:00
TestPages Move the tests into pelican. Fix #500 2013-03-06 00:41:27 -08:00
__init__.py Fix for issue #392 2013-03-27 18:17:11 -04:00
default_conf.py Move the tests into pelican. Fix #500 2013-03-06 00:41:27 -08:00
support.py tests.support: Use kwargs overrides in get_settings() 2013-06-02 14:24:27 -04:00
test_contents.py tests.support: Use kwargs overrides in get_settings() 2013-06-02 14:24:27 -04:00
test_generators.py tests.support: Use kwargs overrides in get_settings() 2013-06-02 14:24:27 -04:00
test_importer.py Import wordpress pages to pages/ subdir with --dir-page option 2013-04-19 23:06:59 +01:00
test_pelican.py add feedback to user and refactor 'autoreload' code 2013-04-19 13:35:20 -04:00
test_readers.py tests.support: Use kwargs overrides in get_settings() 2013-06-02 14:24:27 -04:00
test_settings.py settings: Make DEFAULT_CONFIG public 2013-06-02 13:32:10 -04:00
test_utils.py reset locale after DateFormatter test 2013-04-22 20:07:53 -04:00