Merge pull request #2047 from Kriechi/lymanZerga11-patch-1

improve tests
This commit is contained in:
Thomas Kriechbaumer 2017-02-20 13:01:33 +01:00 committed by GitHub
commit 18401dda8f

View File

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