aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_examples.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-01 03:36:04 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-01 03:36:04 +0100
commita7a9ef826c206ca93c20ae26c20f5e5a2d5de8e6 (patch)
tree60d3b912aa8f06c1cd162e13ebb757dc53448e95 /test/test_examples.py
parent40fbb95701a7172fe1b11f7432fb8dcf0f26b978 (diff)
downloadmitmproxy-a7a9ef826c206ca93c20ae26c20f5e5a2d5de8e6.tar.gz
mitmproxy-a7a9ef826c206ca93c20ae26c20f5e5a2d5de8e6.tar.bz2
mitmproxy-a7a9ef826c206ca93c20ae26c20f5e5a2d5de8e6.zip
fix tests
Diffstat (limited to 'test/test_examples.py')
-rw-r--r--test/test_examples.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index a5a212cd..deb97b49 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -16,4 +16,5 @@ def test_load_scripts():
f += " foo" # one argument required
if "modify_response_body" in f:
f += " foo bar" # two arguments required
- script.Script(f, tmaster) # Loads the script file. \ No newline at end of file
+ s = script.Script(f, tmaster) # Loads the script file.
+ s.unload() \ No newline at end of file