summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Burrows <mjb@asplake.co.uk>2009-12-27 15:56:22 +0000
committerMike Burrows <mjb@asplake.co.uk>2009-12-27 15:56:22 +0000
commit76accc0bb84bd7abb0fc6f7fa3ccc8a8f5227022 (patch)
tree56990ce7490e576992b3beb4c35247c2b8faca36 /tests
parent881f074d878e318a992ff4e68d947a226f1c9408 (diff)
downloadroutes-76accc0bb84bd7abb0fc6f7fa3ccc8a8f5227022.tar.gz
some tests need Mapper(explicit=True) to maintain test isolation
--HG-- branch : trunk
Diffstat (limited to 'tests')
-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 3733eaf..44439dd 100644
--- a/tests/test_functional/test_submapper.py
+++ b/tests/test_functional/test_submapper.py
@@ -34,7 +34,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')
@@ -49,7 +49,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')