diff options
Diffstat (limited to 'test/test_filt.py')
-rw-r--r-- | test/test_filt.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_filt.py b/test/test_filt.py index 104849be..4671a273 100644 --- a/test/test_filt.py +++ b/test/test_filt.py @@ -1,5 +1,5 @@ import cStringIO -from libmproxy import filt, flow +from libmproxy import filt from libmproxy.protocol import http from libmproxy.models import Error from netlib.http import Headers @@ -7,6 +7,7 @@ import tutils class TestParsing: + def _dump(self, x): c = cStringIO.StringIO() x.dump(fp=c) @@ -75,6 +76,7 @@ class TestParsing: class TestMatching: + def req(self): headers = Headers(header="qvalue") req = http.HTTPRequest( |