aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_examples.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-11-14 04:21:38 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-11-14 04:21:38 +0100
commit4499ab61c04d765fc191227e25af0ee1cc98a83a (patch)
tree3208cc7176104c7ee9fcd7173719ab744b486f41 /test/test_examples.py
parent247f27d8219bb63ef64dd33935e222fdad507631 (diff)
parentcd0b9e01be4041275165ab5e90b524ab0b3247f0 (diff)
downloadmitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.tar.gz
mitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.tar.bz2
mitmproxy-4499ab61c04d765fc191227e25af0ee1cc98a83a.zip
structure libmproxy.script
Diffstat (limited to 'test/test_examples.py')
-rw-r--r--test/test_examples.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index dce257cf..2a30f9d5 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -22,7 +22,7 @@ def test_load_scripts():
if "modify_response_body" in f:
f += " foo bar" # two arguments required
try:
- s = script.Script(f, tmaster) # Loads the script file.
+ s = script.Script(f, script.ScriptContext(tmaster)) # Loads the script file.
except Exception as v:
if "ImportError" not in str(v):
raise