Mercurial > piecrust2
view tests/bakes/test_simple.yaml @ 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 | 60b6c1406fdc |
children |
line wrap: on
line source
--- in: posts/2010-01-01_post1.html: 'post one' pages/about.html: 'URL: {{page.url}}' pages/_index.html: 'something' outfiles: 2010/01/01/post1.html: 'post one' about.html: 'URL: /about.html' index.html: 'something' --- config: site: root: /whatever in: posts/2010-01-01_post1.html: 'post one' pages/about.html: 'URL: {{page.url}}' pages/_index.html: 'something' outfiles: 2010/01/01/post1.html: 'post one' about.html: 'URL: /whatever/about.html' index.html: 'something' --- in: pages/foo.html: | This page is {{page.url}} outfiles: foo.html: | This page is /foo.html --- config: site: author: Amélie Poulain in: pages/foo.html: 'Site by {{site.author}}' outfiles: foo.html: 'Site by Amélie Poulain'