aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_filt.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_filt.py')
-rw-r--r--test/test_filt.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/test_filt.py b/test/test_filt.py
index 97b8e73c..3ad17dfe 100644
--- a/test/test_filt.py
+++ b/test/test_filt.py
@@ -5,6 +5,7 @@ from libmproxy.protocol import http
from libmproxy.protocol.primitives import Error
import tutils
+
class TestParsing:
def _dump(self, x):
c = cStringIO.StringIO()
@@ -99,7 +100,15 @@ class TestMatching:
headers = odict.ODictCaseless()
headers["header_response"] = ["svalue"]
- f.response = http.HTTPResponse((1, 1), 200, "OK", headers, "content_response", None, None)
+ f.response = http.HTTPResponse(
+ (1,
+ 1),
+ 200,
+ "OK",
+ headers,
+ "content_response",
+ None,
+ None)
return f