diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-02-01 23:01:06 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-02-01 23:01:06 +0200 |
commit | 268515ba74eafeec1346a0bdf5b49145706f1f92 (patch) | |
tree | 21531c06ca3f011d162b2042a4ce9900df376a52 | |
parent | cd4b3b527348aa6e96f171e90f6bc6bde5582baf (diff) | |
download | routes-268515ba74eafeec1346a0bdf5b49145706f1f92.tar.gz |
Ajusts empty value tests
-rw-r--r-- | tests/test_functional/test_recognition.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_functional/test_recognition.py b/tests/test_functional/test_recognition.py index 5e50a60..03fe6a7 100644 --- a/tests/test_functional/test_recognition.py +++ b/tests/test_functional/test_recognition.py @@ -913,7 +913,7 @@ class TestRecognition(unittest.TestCase): eq_({'controller':'content','action':'index','id':None}, m.match('/content')) eq_({'controller':'content','action':'view','id':'4'}, m.match('/')) def call_func(): - m.match('') + m.match(None) assert_raises(RoutesException, call_func) def test_home_noargs(self): @@ -926,7 +926,7 @@ class TestRecognition(unittest.TestCase): eq_(None, m.match('/content')) eq_({}, m.match('/')) def call_func(): - m.match('') + m.match(None) assert_raises(RoutesException, call_func) def test_dot_format_args(self): |