diff tests/test_baking_baker.py @ 836:dca51cd8147a

Merge pull request #42 from GitHub. Also cleanup the code a bit.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 05 Feb 2017 22:50:12 -0800
parents c6035785dbfc
children
line wrap: on
line diff
--- a/tests/test_baking_baker.py	Sun Feb 05 22:42:18 2017 -0800
+++ b/tests/test_baking_baker.py	Sun Feb 05 22:50:12 2017 -0800
@@ -46,7 +46,8 @@
         app.config.set('site/root', urllib.parse.quote(site_root))
         baker = PageBaker(app, '/destination')
         try:
-            path = baker.getOutputPath(urllib.parse.quote(site_root) + uri)
+            path = baker.getOutputPath(urllib.parse.quote(site_root) + uri,
+                                       pretty)
             expected = os.path.normpath(
                     os.path.join('/destination', expected))
             assert expected == path