summaryrefslogtreecommitdiff
path: root/tests/test_functional/test_submapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_functional/test_submapper.py')
-rw-r--r--tests/test_functional/test_submapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_functional/test_submapper.py b/tests/test_functional/test_submapper.py
index 66d934e..2efcd94 100644
--- a/tests/test_functional/test_submapper.py
+++ b/tests/test_functional/test_submapper.py
@@ -30,7 +30,7 @@ class TestSubmapper(unittest.TestCase):
assert_raises(Exception, url_for, 'entry', id='foo')
def test_submapper_action(self):
- m = Mapper()
+ m = Mapper(explicit=True)
c = m.submapper(path_prefix='/entries', controller='entry')
c.action(name='entries', action='list')
@@ -43,7 +43,7 @@ class TestSubmapper(unittest.TestCase):
assert_raises(Exception, url_for, 'entries', method='DELETE')
def test_submapper_link(self):
- m = Mapper()
+ m = Mapper(explicit=True)
c = m.submapper(path_prefix='/entries', controller='entry')
c.link(rel='new')