diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-30 11:07:09 +1300 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-30 11:07:09 +1300 |
| commit | 81a00f6f761b74722cd55ad05ae979d5a0db1ec3 (patch) | |
| tree | d02120d61610c35222eadfe63d1ae5ae0190895d /test | |
| parent | d1f14961ed8995e5857b7918ab90f3d066dedce0 (diff) | |
| download | mitmproxy-81a00f6f761b74722cd55ad05ae979d5a0db1ec3.tar.gz mitmproxy-81a00f6f761b74722cd55ad05ae979d5a0db1ec3.tar.bz2 mitmproxy-81a00f6f761b74722cd55ad05ae979d5a0db1ec3.zip | |
Replace interception in mitmproxy and mitmweb with addon
Fixes #1674
Diffstat (limited to 'test')
| -rw-r--r-- | test/mitmproxy/addons/test_intercept.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_intercept.py b/test/mitmproxy/addons/test_intercept.py index f389ff8e..efdac374 100644 --- a/test/mitmproxy/addons/test_intercept.py +++ b/test/mitmproxy/addons/test_intercept.py @@ -24,6 +24,8 @@ def test_simple(): r, intercept="~~" ) + tctx.configure(r, intercept=None) + assert not r.filt tctx.configure(r, intercept="~s") |
