W. Trevor King
e9dc1dd478
settings: Make DEFAULT_CONFIG public
...
This dictionary is accessed by plugins (like `summary`) which add new
settings, so it should be public (i.e. no prefixed underscore).
The changed name length would have led to a re-indenting of the
default contents anyway, so I shifted them all to four spaces.
2013-06-02 13:32:10 -04:00
Dave King
bd54cb1b88
Prevent people from setting STATIC_PATHS to a str
...
Previously you could accidentally set for example site/css and pelican would iterate through the string and attempt to copy '/' into your output.
2013-03-23 19:56:14 -07:00
W. Trevor King
b59da89e80
Convert '.' and '..' to the less magical os.curdir and os.pardir
...
While I'm cleaning up path manipulation, I might as well make things
more semantic.
2013-03-21 12:44:44 -04:00
Alexis Métaireau
5aeca4826c
Use comments in tests, not docstrings.
2013-03-10 22:42:46 -07:00
Alexis Métaireau
547f8d2e83
Move the tests into pelican. Fix #500
2013-03-06 00:41:27 -08:00
Mario Rodas
3cd84ab396
moving tests dir
2011-07-02 14:41:39 -05:00
Alexis Metaireau
371892ceaa
Merge branch tests into main. (See #44 )
...
Conflicts:
pelican/contents.py
pelican/settings.py
samples/pelican.conf.py
2011-05-10 23:18:11 +01:00
Alexis Metaireau
8454b0d1b8
Tests for settings.
2011-01-13 00:46:10 +01:00
Alexis Metaireau
bb96e253c9
Start working on the testsuite.
2011-01-05 16:24:44 +01:00