forked from github/pelican
The _cache_open attribute of the FileDataCacher class was not set when settings[load_policy_key] was not True, so saving later failed. As a precaution, replaced the `if ...: return` style with a plain if structure to prevent such readability issues and added tests. |
||
|---|---|---|
| .. | ||
| content | ||
| output | ||
| TestPages | ||
| __init__.py | ||
| default_conf.py | ||
| support.py | ||
| test_contents.py | ||
| test_generators.py | ||
| test_importer.py | ||
| test_paginator.py | ||
| test_pelican.py | ||
| test_readers.py | ||
| test_settings.py | ||
| test_utils.py | ||