comparison 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
comparison
equal deleted inserted replaced
978:7e51d14097cb 979:45ad976712ec
1 --- 1 ---
2 in: 2 in:
3 posts/2010-01-01_post1.md: 'post one' 3 posts/2010-01-01_post1.html: 'post one'
4 pages/about.md: 'URL: {{page.url}}' 4 pages/about.html: 'URL: {{page.url}}'
5 pages/_index.md: 'something' 5 pages/_index.html: 'something'
6 out: 6 outfiles:
7 '2010': 7 2010/01/01/post1.html: 'post one'
8 '01':
9 '01':
10 post1.html: 'post one'
11 about.html: 'URL: /about.html' 8 about.html: 'URL: /about.html'
12 index.html: 'something' 9 index.html: 'something'
13 --- 10 ---
14 config: 11 config:
15 site: 12 site:
16 root: /whatever 13 root: /whatever
17 in: 14 in:
18 posts/2010-01-01_post1.md: 'post one' 15 posts/2010-01-01_post1.html: 'post one'
19 pages/about.md: 'URL: {{page.url}}' 16 pages/about.html: 'URL: {{page.url}}'
20 pages/_index.md: 'something' 17 pages/_index.html: 'something'
21 out: 18 outfiles:
22 '2010': 19 2010/01/01/post1.html: 'post one'
23 '01':
24 '01':
25 post1.html: 'post one'
26 about.html: 'URL: /whatever/about.html' 20 about.html: 'URL: /whatever/about.html'
27 index.html: 'something' 21 index.html: 'something'
28 --- 22 ---
29 in: 23 in:
30 pages/foo.md: | 24 pages/foo.html: |
31 This page is {{page.url}} 25 This page is {{page.url}}
32 outfiles: 26 outfiles:
33 foo.html: | 27 foo.html: |
34 This page is /foo.html 28 This page is /foo.html
35 --- 29 ---
36 config: 30 config:
37 site: 31 site:
38 author: Amélie Poulain 32 author: Amélie Poulain
39 in: 33 in:
40 pages/foo.md: 'Site by {{site.author}}' 34 pages/foo.html: 'Site by {{site.author}}'
41 outfiles: 35 outfiles:
42 foo.html: 'Site by Amélie Poulain' 36 foo.html: 'Site by Amélie Poulain'
43 37