aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_examples.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-07-24 03:09:08 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-07-24 03:09:08 +0200
commite0d1e8caf64e049d103a1273d83207dbf5df775b (patch)
tree01e0fd5639056950fc0f67f361c640ec15c6680b /test/test_examples.py
parent7bf8088d8044c3ff730380fca8a4bf9fadced36a (diff)
downloadmitmproxy-e0d1e8caf64e049d103a1273d83207dbf5df775b.tar.gz
mitmproxy-e0d1e8caf64e049d103a1273d83207dbf5df775b.tar.bz2
mitmproxy-e0d1e8caf64e049d103a1273d83207dbf5df775b.zip
fix tests
Diffstat (limited to 'test/test_examples.py')
-rw-r--r--test/test_examples.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 54577e67..dce257cf 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -11,7 +11,9 @@ def test_load_scripts():
tmaster = tservers.TestMaster(config.ProxyConfig())
for f in scripts:
- if "har_extractor" in f or "flowwriter" in f:
+ if "har_extractor" in f:
+ continue
+ if "flowwriter" in f:
f += " -"
if "iframe_injector" in f:
f += " foo" # one argument required