From 33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 15 Feb 2016 14:58:46 +0100 Subject: move mitmproxy --- test/test_flow_format_compat.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 test/test_flow_format_compat.py (limited to 'test/test_flow_format_compat.py') diff --git a/test/test_flow_format_compat.py b/test/test_flow_format_compat.py deleted file mode 100644 index 232f5473..00000000 --- a/test/test_flow_format_compat.py +++ /dev/null @@ -1,17 +0,0 @@ -from libmproxy.flow import FlowReader, FlowReadError -from . import tutils - - -def test_load(): - with open(tutils.test_data.path("data/dumpfile-013"), "rb") as f: - flow_reader = FlowReader(f) - flows = list(flow_reader.stream()) - assert len(flows) == 1 - assert flows[0].request.url == "https://example.com/" - - -def test_cannot_convert(): - with open(tutils.test_data.path("data/dumpfile-012"), "rb") as f: - flow_reader = FlowReader(f) - with tutils.raises(FlowReadError): - list(flow_reader.stream()) -- cgit v1.2.3