Mercurial > piecrust2
diff tests/servings/test_theme.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 | 3df808b133f8 |
children |
line wrap: on
line diff
--- a/tests/servings/test_theme.yaml Sun Oct 29 22:46:41 2017 -0700 +++ b/tests/servings/test_theme.yaml Sun Oct 29 22:51:57 2017 -0700 @@ -5,7 +5,7 @@ title: "Some Test" in: theme/theme_config.yml: "name: testtheme" - theme/pages/_index.md: "This is {{site.title}} by {{name}}" + theme/pages/_index.html: "This is {{site.title}} by {{name}}" theme/templates/default.html: "THEME: {{content}}" out: "THEME: This is Some Test by testtheme" --- @@ -15,7 +15,7 @@ title: "Some Test" foo: bar in: - pages/foo.md: "This is: {{foo}} by {{name}}" + pages/foo.html: "This is: {{foo}} by {{name}}" theme/theme_config.yml: "name: testtheme" out: "This is: bar by testtheme"