Mercurial > piecrust2
diff tests/bakes/test_unicode.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 | bab91fcef741 |
children |
line wrap: on
line diff
--- a/tests/bakes/test_unicode.yaml Sun Oct 29 22:46:41 2017 -0700 +++ b/tests/bakes/test_unicode.yaml Sun Oct 29 22:51:57 2017 -0700 @@ -1,21 +1,17 @@ --- in: - posts/2010-01-01_déjà-des-accents.md: 'POST URL: {{page.url}}' - pages/présentation.md: 'PAGE URL: {{page.url}}' - pages/_index.md: '' -out: - '2010': - '01': - '01': - déjà-des-accents.html: 'POST URL: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html' + posts/2010-01-01_déjà-des-accents.html: 'POST URL: {{page.url}}' + pages/présentation.html: 'PAGE URL: {{page.url}}' + pages/_index.html: '' +outfiles: + 2010/01/01/déjà-des-accents.html: 'POST URL: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html' présentation.html: 'PAGE URL: /pr%C3%A9sentation.html' index.html: '' --- in: - pages/special/Это тэг.md: 'PAGE URL: {{page.url}}' - pages/_index.md: '' -out: - special: - Это тэг.html: 'PAGE URL: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html' + pages/special/Это тэг.html: 'PAGE URL: {{page.url}}' + pages/_index.html: '' +outfiles: + special/Это тэг.html: 'PAGE URL: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html' index.html: ''