aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-05-06 15:47:12 +0200
committerMaximilian Hils <git@maximilianhils.com>2018-05-06 15:47:12 +0200
commit752a3674369230568a03e3acb1c40ac69e934463 (patch)
tree66b46aa76d03e3e61778e1f26c0b4d6d44d1e19c /test
parent44d788ff96187a353af908bba64f3b5cb75d6233 (diff)
downloadmitmproxy-752a3674369230568a03e3acb1c40ac69e934463.tar.gz
mitmproxy-752a3674369230568a03e3acb1c40ac69e934463.tar.bz2
mitmproxy-752a3674369230568a03e3acb1c40ac69e934463.zip
remove leftover processing_complete
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/addons/test_readfile.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/mitmproxy/addons/test_readfile.py b/test/mitmproxy/addons/test_readfile.py
index 62f4d917..3d28d8b7 100644
--- a/test/mitmproxy/addons/test_readfile.py
+++ b/test/mitmproxy/addons/test_readfile.py
@@ -1,6 +1,5 @@
import asyncio
import io
-from unittest import mock
import pytest
import asynctest
@@ -110,8 +109,7 @@ class TestReadFileStdin:
await rf.load_flows(stdin.buffer)
@pytest.mark.asyncio
- @mock.patch('mitmproxy.master.Master.load_flow')
- async def test_normal(self, load_flow, tmpdir, data):
+ async def test_normal(self, tmpdir, data):
rf = readfile.ReadFileStdin()
with taddons.context(rf) as tctx:
tf = tmpdir.join("tfile")