Mercurial > piecrust2
comparison piecrust/sources/base.py @ 979:45ad976712ec
tests: Big push to get the tests to pass again.
- Lots of fixes everywhere in the code.
- Try to handle debug logging in the multiprocessing worker pool when running in pytest. Not perfect, but usable for now.
- Replace all `.md` test files with `.html` since now a auto-format extension always sets the format.
- Replace `out` with `outfiles` in most places since now blog archives are added to the bake output and I don't want to add expected outputs for blog archives everywhere.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 Oct 2017 22:51:57 -0700 |
parents | 84fc72a17f7a |
children | ef224cce343c |
comparison
equal
deleted
inserted
replaced
978:7e51d14097cb | 979:45ad976712ec |
---|---|
76 | 76 |
77 | 77 |
78 class ContentSource: | 78 class ContentSource: |
79 """ A source for content. | 79 """ A source for content. |
80 """ | 80 """ |
81 SOURCE_NAME = None | |
81 DEFAULT_PIPELINE_NAME = None | 82 DEFAULT_PIPELINE_NAME = None |
82 | 83 |
83 def __init__(self, app, name, config): | 84 def __init__(self, app, name, config): |
84 self.app = app | 85 self.app = app |
85 self.name = name | 86 self.name = name |