Mercurial > piecrust2
annotate tests/servings/test_archives.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 | 09115f0900f0 |
children |
rev | line source |
---|---|
724
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 url: /archives/2016.html |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 in: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
724
diff
changeset
|
4 templates/_year.html: | |
724
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 Posts in {{year}} |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 {% for post in pagination.posts -%} |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 {{post.url}} |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 {% endfor %} |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 posts/2015-12-01_post0.html: '' |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 posts/2016-01-01_post1.html: '' |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 posts/2016-01-02_post2.html: '' |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 out: | |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 Posts in 2016 |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 /2016/01/02/post2.html |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 /2016/01/01/post1.html |
09115f0900f0
bake: Add blog archives generator.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 |