summaryrefslogtreecommitdiff
path: root/test/test_environ.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_environ.py')
-rwxr-xr-xtest/test_environ.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_environ.py b/test/test_environ.py
index c37af51..3a9878a 100755
--- a/test/test_environ.py
+++ b/test/test_environ.py
@@ -667,6 +667,8 @@ class TestResponse(unittest.TestCase):
self.assertEqual('5', response['x-test'])
response['x-test'] = None
self.assertEqual('None', response['x-test'])
+ response['x-test'] = touni('瓶')
+ self.assertEqual(tonat(touni('瓶')), response['x-test'])
def test_prevent_control_characters_in_headers(self):
masks = '{}test', 'test{}', 'te{}st'