diff options
Diffstat (limited to 'test/mitmproxy/test_script.py')
-rw-r--r-- | test/mitmproxy/test_script.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/test_script.py b/test/mitmproxy/test_script.py index f3a6499e..b827c623 100644 --- a/test/mitmproxy/test_script.py +++ b/test/mitmproxy/test_script.py @@ -1,7 +1,7 @@ import os import time import mock -from libmproxy import script, flow +from mitmproxy import script, flow from . import tutils @@ -68,7 +68,7 @@ def test_concurrent(): fm = flow.FlowMaster(None, s) fm.load_script(tutils.test_data.path("scripts/concurrent_decorator.py")) - with mock.patch("libmproxy.controller.DummyReply.__call__") as m: + with mock.patch("mitmproxy.controller.DummyReply.__call__") as m: f1, f2 = tutils.tflow(), tutils.tflow() t_start = time.time() fm.handle_request(f1) |