# HG changeset patch # User Ludovic Chabant # Date 1436324287 25200 # Node ID 55026b7bb1bfde5b93083d09d9870d33484b3039 # Parent 838f3964f400bffe024f2819ca491c3101ffced2 tests: Fix Jinja2 test. Looks like Jinja is stripping rendered output, so now that we actually skip Jinja altogether when there's no `{` in the string, we need to adjust the tests. diff -r 838f3964f400 -r 55026b7bb1bf tests/test_templating_jinjaengine.py --- a/tests/test_templating_jinjaengine.py Mon Jul 06 21:30:49 2015 -0700 +++ b/tests/test_templating_jinjaengine.py Tue Jul 07 19:58:07 2015 -0700 @@ -37,7 +37,7 @@ def test_layout(): contents = "Blah\n" layout = "{{content}}\nFor site: {{foo}}\n" - expected = "Blah\nFor site: bar" + expected = "Blah\n\nFor site: bar" fs = (mock_fs() .withConfig(app_config) .withAsset('templates/blah.jinja', layout)