diff options
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r-- | test/test_wsgi.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_wsgi.py b/test/test_wsgi.py index 41572d49..e26e1413 100644 --- a/test/test_wsgi.py +++ b/test/test_wsgi.py @@ -1,12 +1,12 @@ import cStringIO import sys -from netlib import wsgi, odict +from netlib import wsgi +from netlib.http import Headers def tflow(): - h = odict.ODictCaseless() - h["test"] = ["value"] - req = wsgi.Request("http", "GET", "/", h, "") + headers = Headers(test="value") + req = wsgi.Request("http", "GET", "/", headers, "") return wsgi.Flow(("127.0.0.1", 8888), req) |