diff options
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 627d9cd0..0b7fee4f 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -259,6 +259,11 @@ class uFlow(libpry.AutoTree): f = flow.Flow(None) f.request = tutils.treq() + def test_replace_unicode(self): + f = tutils.tflow_full() + f.response.content = "\xc2foo" + f.replace("foo", u"bar") + def test_replace(self): f = tutils.tflow_full() f.request.headers["foo"] = ["foo"] |