Mercurial > piecrust2
diff tests/bakes/test_relative_pagination.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 | 879b6b5647a8 |
children |
line wrap: on
line diff
--- a/tests/bakes/test_relative_pagination.yaml Sun Oct 29 22:46:41 2017 -0700 +++ b/tests/bakes/test_relative_pagination.yaml Sun Oct 29 22:51:57 2017 -0700 @@ -3,9 +3,9 @@ site: default_post_layout: post in: - posts/2015-03-01_post01.md: "---\ntitle: Post 01\n---\nContent 01" - posts/2015-03-02_post02.md: "---\ntitle: Post 02\n---\nContent 02" - posts/2015-03-03_post03.md: "---\ntitle: Post 03\n---\nContent 03" + posts/2015-03-01_post01.html: "---\ntitle: Post 01\n---\nContent 01" + posts/2015-03-02_post02.html: "---\ntitle: Post 02\n---\nContent 02" + posts/2015-03-03_post03.html: "---\ntitle: Post 03\n---\nContent 03" templates/post.html: | BLAH {{content|safe}} {{pagination.prev_item.url}} {{pagination.prev_item.title}}