Mercurial > piecrust2
diff tests/mockutil.py @ 989:8adc27285d93
bake: Big pass on bake performance.
- Reduce the amount of data passed between processes.
- Make inter-process data simple objects to make it easier to test with
alternatives to pickle.
- Make sources have the basic requirement to be able to find a content item
from an item spec (path).
- Make Hoedown the default Markdown formatter.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 19 Nov 2017 14:29:17 -0800 |
parents | 72f17534d58e |
children |
line wrap: on
line diff
--- a/tests/mockutil.py Fri Nov 03 23:14:56 2017 -0700 +++ b/tests/mockutil.py Sun Nov 19 14:29:17 2017 -0800 @@ -13,7 +13,7 @@ src = app.getSource('pages') assert src is not None - item = src.findContent({'slug': slug}) + item = src.findContentFromRoute({'slug': slug}) assert item is not None return item