aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-10-02 22:52:59 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-10-02 23:08:51 -0700
commit611dad12a7a94fd90619a2db44cd42aab922b4e2 (patch)
treea711c129346605794dacf60f86c6b293fbb24f95 /test
parent19abb54919f0991dc7cc58d13327cb92da2aec63 (diff)
downloadmitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.tar.gz
mitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.tar.bz2
mitmproxy-611dad12a7a94fd90619a2db44cd42aab922b4e2.zip
Revert "Add API to programmatically create new requests (#1534)"
This reverts commit ccbdcd684b5a49c0509610a79dad3f220962a42d, which yielded a test timeout.
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_flow.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py
index 82126353..0fe45afb 100644
--- a/test/mitmproxy/test_flow.py
+++ b/test/mitmproxy/test_flow.py
@@ -463,15 +463,6 @@ class TestFlowMaster:
assert s.flow_count() == 2
assert s.index(f2) == 1
- def test_new_request(self):
- s = flow.State()
- fm = flow.FlowMaster(
- options.Options(),
- DummyServer(ProxyConfig(options.Options())),
- s
- )
- assert fm.new_request("GET", "http", "example.com", 80, "/")
-
def test_create_flow(self):
s = flow.State()
fm = flow.FlowMaster(None, None, s)