diff options
| -rw-r--r-- | examples/stub.py | 2 | ||||
| -rw-r--r-- | test/mitmproxy/script/test_concurrent.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/stub.py b/examples/stub.py index 7de4012a..e5b4a39a 100644 --- a/examples/stub.py +++ b/examples/stub.py @@ -4,7 +4,6 @@ import mitmproxy """ - def start(): """ Called once on script startup before any other events @@ -12,7 +11,6 @@ def start(): mitmproxy.ctx.log("start") - def configure(options): """ Called once on script startup before any other events, and whenever options changes. diff --git a/test/mitmproxy/script/test_concurrent.py b/test/mitmproxy/script/test_concurrent.py index 92d1153b..080746e8 100644 --- a/test/mitmproxy/script/test_concurrent.py +++ b/test/mitmproxy/script/test_concurrent.py @@ -42,5 +42,5 @@ class TestConcurrent(mastertest.MasterTest): ) ) with m.handlecontext(): - sc.configure(options.Options()) + sc.start() assert "decorator not supported" in m.event_log[0][1] |
