diff options
author | Mike Burrows <mjb@asplake.co.uk> | 2009-12-27 15:56:22 +0000 |
---|---|---|
committer | Mike Burrows <mjb@asplake.co.uk> | 2009-12-27 15:56:22 +0000 |
commit | 76accc0bb84bd7abb0fc6f7fa3ccc8a8f5227022 (patch) | |
tree | 56990ce7490e576992b3beb4c35247c2b8faca36 /tests | |
parent | 881f074d878e318a992ff4e68d947a226f1c9408 (diff) | |
download | routes-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.py | 4 |
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')
|