# HG changeset patch # User Ludovic Chabant # Date 1427873704 25200 # Node ID d8c28e496bb30466ecdbb4dfc7c584a818ef367f # Parent f0fc2a9d3191c9ef619aa928ee5ed8b7e6aa6b3c tests: Fix test. diff -r f0fc2a9d3191 -r d8c28e496bb3 tests/test_serving.py --- a/tests/test_serving.py Wed Apr 01 00:27:38 2015 -0700 +++ b/tests/test_serving.py Wed Apr 01 00:35:04 2015 -0700 @@ -14,11 +14,11 @@ [ ('/', [{'src': 'pages', 'pat': '(?P.*)'}], - [('pages', {'path': ''})]), + [('pages', {'path': '/'})]), ('/', [{'src': 'pages', 'pat': '(?P.*)'}, {'src': 'theme', 'pat': '(?P.*)', 'realm': REALM_THEME}], - [('pages', {'path': ''}), ('theme', {'path': ''})]) + [('pages', {'path': '/'}), ('theme', {'path': '/'})]) ]) def test_find_routes(uri, route_specs, expected): routes = []