mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 19:08:44 +00:00
Merge pull request #2047 from Kriechi/lymanZerga11-patch-1
improve tests
This commit is contained in:
commit
18401dda8f
@ -1,12 +1,12 @@
|
|||||||
|
from unittest import mock
|
||||||
|
|
||||||
import mitmproxy.tools.console.flowlist as flowlist
|
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 tservers
|
|
||||||
from unittest import mock
|
|
||||||
|
|
||||||
|
|
||||||
class TestFlowlist(tservers.MasterTest):
|
class TestFlowlist:
|
||||||
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