diff options
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 4cbd5e73..7ca489c6 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -641,11 +641,11 @@ class uRequest(libpry.AutoTree): def test_getset_form_urlencoded(self): h = flow.ODict() h["content-type"] = [flow.HDR_FORM_URLENCODED] - d = [("one", "two"), ("three", "four")] - r = flow.Request(None, "host", 22, "https", "GET", "/", h, utils.urlencode(d)) + d = flow.ODict([("one", "two"), ("three", "four")]) + r = flow.Request(None, "host", 22, "https", "GET", "/", h, utils.urlencode(d.lst)) assert r.get_form_urlencoded() == d - d = [("x", "y")] + d = flow.ODict([("x", "y")]) r.set_form_urlencoded(d) assert r.get_form_urlencoded() == d |