Update test_flowlist.py

This commit is contained in:
lymanZerga11 2017-02-12 23:36:26 +08:00 committed by GitHub
parent df8a5aa9be
commit f5b30b8872

View File

@ -2,7 +2,7 @@ import mitmproxy.tools.console.flowlist as flowlist
from mitmproxy.tools import console
from mitmproxy import proxy
from mitmproxy import options
from .. import mastertest
from .. import tservers
import pytest
from unittest import mock
@ -15,7 +15,7 @@ def mock_add_log(message):
raise ScriptError(message)
class TestFlowlist(mastertest.MasterTest):
class TestFlowlist(tservers.MasterTest):
def mkmaster(self, **opts):
if "verbosity" not in opts:
opts["verbosity"] = 1