# HG changeset patch # User Ludovic Chabant # Date 1444802876 25200 # Node ID 34e57d4b97e2879016838c5d0f1af3bf57ef1b40 # Parent 6b6c5442c790ef3a115407b32a80d90009d9e7f4 tests: Fix broken unit test. diff -r 6b6c5442c790 -r 34e57d4b97e2 tests/test_baking_baker.py --- a/tests/test_baking_baker.py Tue Oct 13 22:50:38 2015 -0700 +++ b/tests/test_baking_baker.py Tue Oct 13 23:07:56 2015 -0700 @@ -45,7 +45,7 @@ for site_root in ['/', '/whatever/', '/~johndoe/']: app.config.set('site/root', urllib.parse.quote(site_root)) baker = PageBaker(app, '/destination') - path = baker.getOutputPath(site_root + uri) + path = baker.getOutputPath(urllib.parse.quote(site_root) + uri) expected = os.path.normpath( os.path.join('/destination', expected)) assert expected == path