diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-11-14 04:21:38 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-11-14 04:21:38 +0100 |
commit | 4499ab61c04d765fc191227e25af0ee1cc98a83a (patch) | |
tree | 3208cc7176104c7ee9fcd7173719ab744b486f41 /test/test_examples.py | |
parent | 247f27d8219bb63ef64dd33935e222fdad507631 (diff) | |
parent | cd0b9e01be4041275165ab5e90b524ab0b3247f0 (diff) | |
download | mitmproxy-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.py | 2 |
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 |