aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/addons/test_intercept.py2
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")