diff options
Diffstat (limited to 'test/test_filt.py')
-rw-r--r-- | test/test_filt.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_filt.py b/test/test_filt.py index 791b9b39..5067d841 100644 --- a/test/test_filt.py +++ b/test/test_filt.py @@ -1,5 +1,5 @@ import cStringIO -from libmproxy import filt, proxy, utils +from libmproxy import filt, flow import libpry @@ -72,10 +72,10 @@ class uParsing(libpry.AutoTree): class uMatching(libpry.AutoTree): def req(self): - conn = proxy.ClientConnect(("one", 2222)) - headers = utils.Headers() + conn = flow.ClientConnect(("one", 2222)) + headers = flow.Headers() headers["header"] = ["qvalue"] - return proxy.Request( + return flow.Request( conn, "host", 80, @@ -88,9 +88,9 @@ class uMatching(libpry.AutoTree): def resp(self): q = self.req() - headers = utils.Headers() + headers = flow.Headers() headers["header_response"] = ["svalue"] - return proxy.Response( + return flow.Response( q, 200, "message", |