summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_wsgiwrappers.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_wsgiwrappers.py b/tests/test_wsgiwrappers.py
index 833b4f2..8719693 100644
--- a/tests/test_wsgiwrappers.py
+++ b/tests/test_wsgiwrappers.py
@@ -36,9 +36,8 @@ def valid_name(name, encoding=no_encoding, post=False):
def test_wsgirequest_charset():
# Jose, 'José'
- app = TestApp(AssertApp(assertfunc=valid_name(u'José',
- encoding='iso-8859-1')))
- res = app.get('/?name=Jos%E9')
+ app = TestApp(AssertApp(assertfunc=valid_name(u'José', encoding='UTF-8')))
+ res = app.get('/?name=Jos%C3%A9')
# Tanaka, '田中'
app = TestApp(AssertApp(assertfunc=valid_name(u'田中', encoding='UTF-8')))