annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
347
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
3 posts/2010-01-01_post1.html: 'post one'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
4 pages/about.html: 'URL: {{page.url}}'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
5 pages/_index.html: 'something'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
6 outfiles:
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
7 2010/01/01/post1.html: 'post one'
347
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 about.html: 'URL: /about.html'
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 index.html: 'something'
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 ---
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 config:
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 site:
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 root: /whatever
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
15 posts/2010-01-01_post1.html: 'post one'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
16 pages/about.html: 'URL: {{page.url}}'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
17 pages/_index.html: 'something'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
18 outfiles:
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
19 2010/01/01/post1.html: 'post one'
347
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 about.html: 'URL: /whatever/about.html'
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 index.html: 'something'
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
22 ---
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
23 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
24 pages/foo.html: |
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
25 This page is {{page.url}}
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
26 outfiles:
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
27 foo.html: |
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 347
diff changeset
28 This page is /foo.html
541
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
29 ---
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
30 config:
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
31 site:
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
32 author: Amélie Poulain
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
33 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 541
diff changeset
34 pages/foo.html: 'Site by {{site.author}}'
541
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
35 outfiles:
60b6c1406fdc tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
36 foo.html: 'Site by Amélie Poulain'
347
76c838453dbe tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
37