Mercurial > piecrust2
comparison 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 |
comparison
equal
deleted
inserted
replaced
978:7e51d14097cb | 979:45ad976712ec |
---|---|
1 --- | 1 --- |
2 in: | 2 in: |
3 pages/_index.html: | | |
4 --- | |
5 date: '2010/01/05' | |
6 --- | |
7 The index | |
3 pages/foo.md: | | 8 pages/foo.md: | |
9 --- | |
10 date: '2010/01/08' | |
11 --- | |
4 Foo! | 12 Foo! |
5 pages/bar.md: | | 13 pages/bar.md: | |
14 --- | |
15 date: '2010/01/09' | |
16 --- | |
6 Bar! | 17 Bar! |
7 pages/allpages.md: | | 18 pages/allpages.html: | |
19 --- | |
20 date: '2010/01/10' | |
21 --- | |
8 {% for p in site.pages -%} | 22 {% for p in site.pages -%} |
9 {{p.url}} | 23 {{p.url}} |
10 {% endfor %} | 24 {% endfor %} |
11 outfiles: | 25 outfiles: |
12 allpages.html: | | 26 allpages.html: | |
17 --- | 31 --- |
18 in: | 32 in: |
19 posts/2016-06-01_one.md: "One!" | 33 posts/2016-06-01_one.md: "One!" |
20 posts/2016-06-02_two.md: "Two!" | 34 posts/2016-06-02_two.md: "Two!" |
21 posts/2016-06-03_three.md: "Three!" | 35 posts/2016-06-03_three.md: "Three!" |
22 pages/_index.md: | | 36 pages/_index.html: | |
23 {% for p in blog.posts -%} | 37 {% for p in blog.posts -%} |
24 {{p.url}} | 38 {{p.url}} |
25 {% endfor %} | 39 {% endfor %} |
26 outfiles: | 40 outfiles: |
27 index.html: | | 41 index.html: | |
34 subtitle: "Forcing a Merged Mapping" | 48 subtitle: "Forcing a Merged Mapping" |
35 in: | 49 in: |
36 posts/2016-06-01_one.md: "One!" | 50 posts/2016-06-01_one.md: "One!" |
37 posts/2016-06-02_two.md: "Two!" | 51 posts/2016-06-02_two.md: "Two!" |
38 posts/2016-06-03_three.md: "Three!" | 52 posts/2016-06-03_three.md: "Three!" |
39 pages/_index.md: | | 53 pages/_index.html: | |
40 {{blog.subtitle}} | 54 {{blog.subtitle}} |
41 {% for p in blog.posts -%} | 55 {% for p in blog.posts -%} |
42 {{p.url}} | 56 {{p.url}} |
43 {% endfor %} | 57 {% endfor %} |
44 outfiles: | 58 outfiles: |
54 in: | 68 in: |
55 posts/aaa/2016-06-01_one.md: "One!" | 69 posts/aaa/2016-06-01_one.md: "One!" |
56 posts/aaa/2016-06-02_two.md: "Two!" | 70 posts/aaa/2016-06-02_two.md: "Two!" |
57 posts/xyz/2016-06-01_one-other.md: "One Other!" | 71 posts/xyz/2016-06-01_one-other.md: "One Other!" |
58 posts/xyz/2016-06-02_two-other.md: "Two Other!" | 72 posts/xyz/2016-06-02_two-other.md: "Two Other!" |
59 pages/_index.md: | | 73 pages/_index.html: | |
60 {% for p in aaa.posts -%} | 74 {% for p in aaa.posts -%} |
61 {{p.url}} | 75 {{p.url}} |
62 {% endfor %} | 76 {% endfor %} |
63 {% for p in xyz.posts -%} | 77 {% for p in xyz.posts -%} |
64 {{p.url}} | 78 {{p.url}} |