From 752a3674369230568a03e3acb1c40ac69e934463 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 6 May 2018 15:47:12 +0200 Subject: remove leftover processing_complete --- test/mitmproxy/addons/test_readfile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') 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") -- cgit v1.2.3