comparison tests/bakes/test_sitemap.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 tests/procs/test_sitemap.yaml@62274d805a6e
children
comparison
equal deleted inserted replaced
978:7e51d14097cb 979:45ad976712ec
1 ---
2 in:
3 assets/sitemap.sitemap: |
4 autogen: [pages, theme_pages]
5 pages/foo.md: This is a foo
6 outfiles:
7 sitemap.xml: |
8 <?xml version="1.0" encoding="utf-8"?>
9 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
10 <url>
11 <loc>/foo.html</loc>
12 <lastmod>%test_time_iso8601%</lastmod>
13 </url>
14 <url>
15 <loc>/</loc>
16 <lastmod>%test_time_iso8601%</lastmod>
17 </url>
18 </urlset>
19 ---
20 in:
21 assets/sitemap.sitemap: |
22 autogen: [pages]
23 pages/foo.md: |
24 ---
25 sitemap:
26 changefreq: monthly
27 priority: 0.8
28 ---
29 This is a foo
30 outfiles:
31 sitemap.xml: |
32 <?xml version="1.0" encoding="utf-8"?>
33 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
34 <url>
35 <loc>/foo.html</loc>
36 <lastmod>%test_time_iso8601%</lastmod>
37 <changefreq>monthly</changefreq>
38 <priority>0.8</priority>
39 </url>
40 </urlset>