diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-27 09:36:50 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-27 11:48:38 +0200 |
commit | 827fe824d97d96779512c8a4032d9b30d516d63f (patch) | |
tree | a271611cf4ea1a91372d57428a2c49ffc2b74461 /test/http/http1/test_protocol.py | |
parent | fb482172241b6235da083f6dbf154b641772a4fc (diff) | |
download | mitmproxy-827fe824d97d96779512c8a4032d9b30d516d63f.tar.gz mitmproxy-827fe824d97d96779512c8a4032d9b30d516d63f.tar.bz2 mitmproxy-827fe824d97d96779512c8a4032d9b30d516d63f.zip |
move code from mitmproxy to netlib
Diffstat (limited to 'test/http/http1/test_protocol.py')
-rw-r--r-- | test/http/http1/test_protocol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http/http1/test_protocol.py b/test/http/http1/test_protocol.py index dcebbd5e..b196b7a3 100644 --- a/test/http/http1/test_protocol.py +++ b/test/http/http1/test_protocol.py @@ -297,10 +297,10 @@ class TestReadResponseNoContentLength(tservers.ServerTestBase): def test_read_response(): - def tst(data, method, limit, include_body=True): + def tst(data, method, body_size_limit, include_body=True): data = textwrap.dedent(data) return mock_protocol(data).read_response( - method, limit, include_body=include_body + method, body_size_limit, include_body=include_body ) tutils.raises("server disconnect", tst, "", "GET", None) |