Adjust concurrent tests for start method

This commit is contained in:
Aldo Cortesi 2016-07-15 14:59:48 +12:00
parent 4ba7ce50c6
commit 92a5076bd0
2 changed files with 1 additions and 3 deletions

View File

@ -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.

View File

@ -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]