Mercurial > piecrust2
view tests/servings/test_debug_info.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 | e7fb848fd55d |
children |
line wrap: on
line source
--- url: /foo in: pages/foo.html: | BLAH {{piecrust.debug_info}} out: BLAH --- url: /foo?!debug in: pages/foo.html: | BLAH {{piecrust.debug_info}} out_contains: | BLAH <div id="piecrust-debug-window" --- url: /foo in: pages/foo.html: BLAH {{pcurl('bar')}} out: BLAH /bar.html --- url: /foo?!debug in: pages/foo.html: BLAH {{pcurl('bar')}} out: BLAH /bar.html?!debug --- url: /foo config: site: pretty_urls: true in: pages/foo.html: BLAH {{pcurl('bar')}} out: BLAH /bar --- url: /foo?!debug config: site: pretty_urls: true in: pages/foo.html: BLAH {{pcurl('bar')}} out: BLAH /bar?!debug