improve test

This commit is contained in:
Thomas Kriechbaumer 2017-02-20 11:48:18 +01:00
parent 050245e842
commit 0de277c18b

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