mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Update test_flowlist.py
This commit is contained in:
parent
df8a5aa9be
commit
f5b30b8872
@ -2,7 +2,7 @@ import mitmproxy.tools.console.flowlist as flowlist
|
|||||||
from mitmproxy.tools import console
|
from mitmproxy.tools import console
|
||||||
from mitmproxy import proxy
|
from mitmproxy import proxy
|
||||||
from mitmproxy import options
|
from mitmproxy import options
|
||||||
from .. import mastertest
|
from .. import tservers
|
||||||
import pytest
|
import pytest
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ def mock_add_log(message):
|
|||||||
raise ScriptError(message)
|
raise ScriptError(message)
|
||||||
|
|
||||||
|
|
||||||
class TestFlowlist(mastertest.MasterTest):
|
class TestFlowlist(tservers.MasterTest):
|
||||||
def mkmaster(self, **opts):
|
def mkmaster(self, **opts):
|
||||||
if "verbosity" not in opts:
|
if "verbosity" not in opts:
|
||||||
opts["verbosity"] = 1
|
opts["verbosity"] = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user