1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tests
Peter Sabaini 923a29aaad Override settings from the command line
Add a --setting-overrides KEY=VAL command line option to override
default settings or those defined in settings files. This adds
flexibility in running Pelican and helps reduce sprawl of settings
files. Cast int and str setting overrides to their respective types.
Support other setting types by treating them as JSON. Fall back to JSON
when an override typecast errors. This should make it possible to set
int values to None, resp. to JSON 'none'
2020-08-20 11:27:49 +02:00
..
content Set "modified:" from "date:" when the latter was set from the filesystem (#2748) 2020-05-03 17:45:25 +02:00
cyclic_intersite_links Add a test for false-positive warnings about intersite links. 2018-11-11 01:18:53 +01:00
dummy_plugins Fix legacy plugin loading 2020-04-17 21:15:25 +03: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 Expose first and last page of pagination (#2618) 2020-04-30 19:05:48 +02:00
parse_error Add tests verifying graceful handling on reST errors. 2018-11-10 23:08:10 +01:00
TestPages automatically copy linked static files 2018-11-01 18:08:11 +01:00
theme_overrides Add THEME_TEMPLATE_OVERRIDES. Refs 2021 2017-10-10 14:33:20 +08:00
__init__.py Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
default_conf.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
support.py fix linting errors 2020-05-12 23:30:03 +03:00
test_cache.py Cleanup test environment and requirements 2020-05-09 16:17:14 +03:00
test_contents.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
test_generators.py Fix Windows tests 2020-05-09 16:17:14 +03:00
test_importer.py Fix Windows tests 2020-05-09 16:17:14 +03:00
test_log.py Fix dictionary logging in formatter 2020-05-09 21:25:38 +03:00
test_paginator.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
test_pelican.py fix linting errors 2020-05-12 23:30:03 +03:00
test_plugins.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
test_readers.py Cleanup test environment and requirements 2020-05-09 16:17:14 +03:00
test_rstdirectives.py Cleanup test environment and requirements 2020-05-09 16:17:14 +03:00
test_server.py Fix Windows tests 2020-05-09 16:17:14 +03:00
test_settings.py Override settings from the command line 2020-08-20 11:27:49 +02:00
test_testsuite.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
test_urlwrappers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
test_utils.py Merge pull request #2750 from avaris/autoreload 2020-05-10 07:29:27 +02:00