summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bangert <ben@groovie.org>2008-02-28 17:27:39 -0800
committerBen Bangert <ben@groovie.org>2008-02-28 17:27:39 -0800
commitbd556ee1146f2eac480d68574d73f3ed824ae460 (patch)
treeb7f3964c87040ac508d7451281236593e9479809
parentcd071098c4955fe2d49234e098d79403045dc6c6 (diff)
downloadroutes-bd556ee1146f2eac480d68574d73f3ed824ae460.tar.gz
Fixed unicode test to not urlquote the value since the WSGI server isn't around to decode it.v1.7.3
(transplanted from 93b05f44f17410b00001afbf03eb446c88270077) --HG-- branch : trunk extra : transplant_source : %93%B0_D%F1t%10%B0%00%01%AF%BF%03%EBDl%88%27%00w
-rw-r--r--tests/test_functional/test_recognition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_functional/test_recognition.py b/tests/test_functional/test_recognition.py
index 589448f..d1f665b 100644
--- a/tests/test_functional/test_recognition.py
+++ b/tests/test_functional/test_recognition.py
@@ -34,7 +34,7 @@ class TestRecognition(unittest.TestCase):
def test_unicode(self):
hoge = u'\u30c6\u30b9\u30c8' # the word test in Japanese
- hoge_enc = urllib.quote_plus(hoge.encode('utf-8'))
+ hoge_enc = hoge.encode('utf-8')
m = Mapper()
m.connect(':hoge')
self.assertEqual({'controller': 'content', 'action': 'index', 'hoge': hoge},