Adjust concurrent tests for start method
This commit is contained in:
parent
4ba7ce50c6
commit
92a5076bd0
|
@ -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.
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue