summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Bangert <ben@groovie.org>2009-11-10 18:16:19 -0800
committerBen Bangert <ben@groovie.org>2009-11-10 18:16:19 -0800
commit613b5689f55f6615c1a83d78a511c1ca24f6715a (patch)
treee35ee4fbe7748b7b5851e7120b06089b712e329b /tests
parent0bd90fefec06a3a23667c46a80d0ceae1a7b2daf (diff)
downloadroutes-613b5689f55f6615c1a83d78a511c1ca24f6715a.tar.gz
* Adding regular expression builder for entire regexp for faster rejection
in a single regexp match should none of the routes match. --HG-- branch : trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/test_functional/test_recognition.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_functional/test_recognition.py b/tests/test_functional/test_recognition.py
index 68a023c..a92cc11 100644
--- a/tests/test_functional/test_recognition.py
+++ b/tests/test_functional/test_recognition.py
@@ -651,7 +651,7 @@ class TestRecognition(unittest.TestCase):
resultdict, route_obj, debug = m.routematch('/nowhere')
eq_(None, resultdict)
eq_(None, route_obj)
- eq_(len(debug), 1)
+ eq_(len(debug), 0)
def test_match_debug(self):
m = Mapper()
@@ -667,7 +667,7 @@ class TestRecognition(unittest.TestCase):
resultdict, route_obj, debug = m.match('/nowhere')
eq_(None, resultdict)
eq_(route_obj, None)
- eq_(len(debug), 1)
+ eq_(len(debug), 0)
def test_conditions(self):
m = Mapper()