From eeec17902fdcd7de766dc79ed6a2e3a73ad4ce3d Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 24 Sep 2016 21:01:48 -0700 Subject: update dependencies, minor fixes (#1577) --- test/mitmproxy/test_dump.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/mitmproxy/test_dump.py b/test/mitmproxy/test_dump.py index 06f39e9d..644a3d54 100644 --- a/test/mitmproxy/test_dump.py +++ b/test/mitmproxy/test_dump.py @@ -3,7 +3,6 @@ from six.moves import cStringIO as StringIO from mitmproxy import dump, flow, exceptions from . import tutils, mastertest -import mock class TestDumpMaster(mastertest.MasterTest): @@ -102,8 +101,7 @@ class TestDumpMaster(mastertest.MasterTest): def test_app(self): o = dump.Options(app=True) - s = mock.MagicMock() - m = dump.DumpMaster(s, o) + m = dump.DumpMaster(None, o) assert len(m.apps.apps) == 1 def test_replacements(self): -- cgit v1.2.3