Mercurial > piecrust2
view tests/servings/test_unicode.yaml @ 1169:978ed6deea91
tests: Add ability to test different expected outputs based on Python version.
Similar to the previous change, there was also a change in what gets escaped
by `urllib.parse.quote` (as in: the tilde sign ('~') stopped being escaped).
So now we need to be able to test different outputs in the tests, yay again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 04 Oct 2019 11:15:11 -0700 |
parents | 45ad976712ec |
children |
line wrap: on
line source
--- url: /pr%C3%A9sentation.html in: pages/présentation.html: 'PAGE URL: {{page.url}}' out: 'PAGE URL: /pr%C3%A9sentation.html' --- url: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html in: posts/2010-01-01_déjà-des-accents.html: 'POST URL: {{page.url}}' out: 'POST URL: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html' --- url: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html in: pages/special/Это тэг.html: 'PAGE URL: {{page.url}}' out: 'PAGE URL: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html'