aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-18 16:58:53 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-19 16:25:09 +1200
commitd2268ddb1ebfca2b3314c3bde12d3a356fd6a114 (patch)
tree0ea6cd63df676cef864e2bd6481082aac5a346a8 /test
parentf24f8ce9714bb4014c68275aef36194b6f12c419 (diff)
downloadmitmproxy-d2268ddb1ebfca2b3314c3bde12d3a356fd6a114.tar.gz
mitmproxy-d2268ddb1ebfca2b3314c3bde12d3a356fd6a114.tar.bz2
mitmproxy-d2268ddb1ebfca2b3314c3bde12d3a356fd6a114.zip
ProxyConfig: --body-size-limit to Options
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_protocol_http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_protocol_http2.py b/test/mitmproxy/test_protocol_http2.py
index 34e6656a..d910ecae 100644
--- a/test/mitmproxy/test_protocol_http2.py
+++ b/test/mitmproxy/test_protocol_http2.py
@@ -591,7 +591,7 @@ class TestBodySizeLimit(_Http2Test):
return True
def test_body_size_limit(self):
- self.config.body_size_limit = 20
+ self.config.options.body_size_limit = 20
client, h2_conn = self._setup_connection()