annotate tests/bakes/test_data_provider.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 42efc3634763
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
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: 716
diff changeset
3 pages/_index.html: |
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
4 ---
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
5 date: '2010/01/05'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
6 ---
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
7 The index
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 pages/foo.md: |
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
9 ---
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
10 date: '2010/01/08'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
11 ---
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 Foo!
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 pages/bar.md: |
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
14 ---
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
15 date: '2010/01/09'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
16 ---
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 Bar!
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
18 pages/allpages.html: |
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
19 ---
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
20 date: '2010/01/10'
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
21 ---
369
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 {% for p in site.pages -%}
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 {{p.url}}
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 {% endfor %}
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25 outfiles:
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26 allpages.html: |
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
27 /allpages.html
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
28 /bar.html
4b1019bb2533 serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
29 /foo.html
681
894d286b348f internal: Refactor config loading some more.
Ludovic Chabant <ludovic@chabant.com>
parents: 397
diff changeset
30 /
716
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
31 ---
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
32 in:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
33 posts/2016-06-01_one.md: "One!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
34 posts/2016-06-02_two.md: "Two!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
35 posts/2016-06-03_three.md: "Three!"
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
36 pages/_index.html: |
716
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
37 {% for p in blog.posts -%}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
38 {{p.url}}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
39 {% endfor %}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
40 outfiles:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
41 index.html: |
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
42 /2016/06/03/three.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
43 /2016/06/02/two.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
44 /2016/06/01/one.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
45 ---
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
46 config:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
47 blog:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
48 subtitle: "Forcing a Merged Mapping"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
49 in:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
50 posts/2016-06-01_one.md: "One!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
51 posts/2016-06-02_two.md: "Two!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
52 posts/2016-06-03_three.md: "Three!"
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
53 pages/_index.html: |
716
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
54 {{blog.subtitle}}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
55 {% for p in blog.posts -%}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
56 {{p.url}}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
57 {% endfor %}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
58 outfiles:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
59 index.html: |
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
60 Forcing a Merged Mapping
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
61 /2016/06/03/three.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
62 /2016/06/02/two.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
63 /2016/06/01/one.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
64 ---
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
65 config:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
66 site:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
67 blogs: [aaa, xyz]
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
68 in:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
69 posts/aaa/2016-06-01_one.md: "One!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
70 posts/aaa/2016-06-02_two.md: "Two!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
71 posts/xyz/2016-06-01_one-other.md: "One Other!"
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
72 posts/xyz/2016-06-02_two-other.md: "Two Other!"
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 716
diff changeset
73 pages/_index.html: |
716
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
74 {% for p in aaa.posts -%}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
75 {{p.url}}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
76 {% endfor %}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
77 {% for p in xyz.posts -%}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
78 {{p.url}}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
79 {% endfor %}
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
80 outfiles:
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
81 index.html: |
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
82 /aaa/2016/06/02/two.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
83 /aaa/2016/06/01/one.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
84
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
85 /xyz/2016/06/02/two-other.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
86 /xyz/2016/06/01/one-other.html
42efc3634763 tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents: 681
diff changeset
87