diff tests/test_serving.py @ 332:d8c28e496bb3

tests: Fix test.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 01 Apr 2015 00:35:04 -0700
parents 65e6d72f3877
children 4b1019bb2533
line wrap: on
line diff
--- 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<path>.*)'}],
-                [('pages', {'path': ''})]),
+                [('pages', {'path': '/'})]),
             ('/',
                 [{'src': 'pages', 'pat': '(?P<path>.*)'},
                     {'src': 'theme', 'pat': '(?P<path>.*)', 'realm': REALM_THEME}],
-                [('pages', {'path': ''}), ('theme', {'path': ''})])
+                [('pages', {'path': '/'}), ('theme', {'path': '/'})])
             ])
 def test_find_routes(uri, route_specs, expected):
     routes = []