mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
fix tests
This commit is contained in:
parent
7bf8088d80
commit
e0d1e8caf6
@ -11,7 +11,9 @@ def test_load_scripts():
|
|||||||
tmaster = tservers.TestMaster(config.ProxyConfig())
|
tmaster = tservers.TestMaster(config.ProxyConfig())
|
||||||
|
|
||||||
for f in scripts:
|
for f in scripts:
|
||||||
if "har_extractor" in f or "flowwriter" in f:
|
if "har_extractor" in f:
|
||||||
|
continue
|
||||||
|
if "flowwriter" in f:
|
||||||
f += " -"
|
f += " -"
|
||||||
if "iframe_injector" in f:
|
if "iframe_injector" in f:
|
||||||
f += " foo" # one argument required
|
f += " foo" # one argument required
|
||||||
|
Loading…
Reference in New Issue
Block a user