diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-28 12:38:07 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-28 12:38:07 +1200 |
| commit | f4813d56492a32ef7856002c8be25cf7012bab4e (patch) | |
| tree | e429d446d25e784db9dadd358c006fea43814e61 /test | |
| parent | f29f6210bbc725da997b32ecd6e666899df3b0cd (diff) | |
| download | mitmproxy-f4813d56492a32ef7856002c8be25cf7012bab4e.tar.gz mitmproxy-f4813d56492a32ef7856002c8be25cf7012bab4e.tar.bz2 mitmproxy-f4813d56492a32ef7856002c8be25cf7012bab4e.zip | |
Make @controller.handler inheritance-friendly
Use this to adapt mitmweb and mitproxy console
Diffstat (limited to 'test')
| -rw-r--r-- | test/mitmproxy/test_flow.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py index 62f23ac8..da8b8ddd 100644 --- a/test/mitmproxy/test_flow.py +++ b/test/mitmproxy/test_flow.py @@ -470,10 +470,7 @@ class TestFlow(object): fm = flow.FlowMaster(None, s) f = tutils.tflow() - fm.handle_request(f) - - f = tutils.tflow() - fm.handle_request(f) + f.intercept(fm) s.killall(fm) for i in s.view: |
