diff options
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tutils.py b/test/tutils.py index bed99caf..87977b1c 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -7,7 +7,7 @@ import random def treq(conn=None): if not conn: conn = flow.ClientConnect(("address", 22)) - headers = flow.Headers() + headers = flow.ODict() headers["header"] = ["qvalue"] return flow.Request(conn, "host", 80, "http", "GET", "/path", headers, "content") @@ -15,7 +15,7 @@ def treq(conn=None): def tresp(req=None): if not req: req = treq() - headers = flow.Headers() + headers = flow.ODict() headers["header_response"] = ["svalue"] return flow.Response(req, 200, "message", headers, "content_response") |