aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-07-17 16:20:41 +1200
committerGitHub <noreply@github.com>2016-07-17 16:20:41 +1200
commita26cc75aabae43ed389e72ea89e35617432d7b21 (patch)
tree932f227b3bad87930754a6c0f056cbb531337647 /test
parentfb45d59c0257cdec38b14e8839fb2dbca079fb97 (diff)
parent9bf1d300d8f4f1c258df5c1bb308546a81ee4df0 (diff)
downloadmitmproxy-a26cc75aabae43ed389e72ea89e35617432d7b21.tar.gz
mitmproxy-a26cc75aabae43ed389e72ea89e35617432d7b21.tar.bz2
mitmproxy-a26cc75aabae43ed389e72ea89e35617432d7b21.zip
Merge pull request #1370 from cortesi/filestreamer
Some work on stream-to-file
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/builtins/test_filestreamer.py (renamed from test/mitmproxy/builtins/test_stream.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/builtins/test_stream.py b/test/mitmproxy/builtins/test_filestreamer.py
index edaa41d2..002006b7 100644
--- a/test/mitmproxy/builtins/test_stream.py
+++ b/test/mitmproxy/builtins/test_filestreamer.py
@@ -4,7 +4,7 @@ from .. import tutils, mastertest
import os.path
-from mitmproxy.builtins import stream
+from mitmproxy.builtins import filestreamer
from mitmproxy.flow import master, FlowReader
from mitmproxy.flow import state
from mitmproxy.flow import options
@@ -27,7 +27,7 @@ class TestStream(mastertest.MasterTest):
None,
s
)
- sa = stream.Stream()
+ sa = filestreamer.FileStreamer()
m.addons.add(sa)
f = tutils.tflow(resp=True)