mitmproxy/test/mitmproxy
Aldo Cortesi 4cc75a9560 Revamp replacement hooks
- Replacement specifiers can be either strings or tuples. This lets us cope
gracefully with command-line parsing (and posible quick interactive
specification) without having to special-case replacement hooks, or have
knowledge of hook specification leak outside the addon. We can also now use the
same command-line spec format in config files.
- Split replacement and replacement from file into separate addons and options.
Files are now read on each replacement, so you can edit replacement files in
place without restart.
- Modernise the test suite to use addon test helpers.

TODO: editing and displaying replace-from-file in console app
2017-02-01 11:10:28 +13:00
..
addons Revamp replacement hooks 2017-02-01 11:10:28 +13:00
completion Add dummy directory to completion 2016-06-20 01:24:27 +05:30
console nuke mock dependency 2017-01-22 14:11:28 +01:00
contentviews nuke mock dependency 2017-01-22 14:11:28 +01:00
contrib tls_parser: allow optional extensions 2016-12-06 19:51:57 +01:00
data fix io compat with previous releases 2016-12-19 16:19:37 +01:00
fuzzing Make fuzzing run again 2016-02-18 10:40:16 +13:00
net nuke mock dependency 2017-01-22 14:11:28 +01:00
protocol tls_parser: allow optional extensions 2016-12-06 19:51:57 +01:00
script script.concurrent: tests to taddons 2016-11-04 10:59:41 +13:00
tools lint! 2016-11-18 12:59:59 +01:00
utils nuke mock dependency 2017-01-22 14:11:28 +01:00
__init__.py remove empty lines at beginning of file 2016-10-17 10:32:12 +02:00
mastertest.py Cleanups: remove intercept from addons.state, unused imports 2016-10-30 11:13:05 +13:00
mock_urwid.py nuke mock dependency 2017-01-22 14:11:28 +01:00
test_addonmanager.py fully test addonmanager (#1970) 2017-01-31 10:57:22 +01:00
test_certs.py tests: clean up test/mitmproxy/tutils.py 2016-11-02 09:44:18 +13:00
test_cmdline.py Revamp replacement hooks 2017-02-01 11:10:28 +13:00
test_contrib_tnetstring.py fix tests 2016-07-06 19:55:48 -07:00
test_controller.py nuke mock dependency 2017-01-22 14:11:28 +01:00
test_eventsequence.py addons.proxyauth: out with the old, in with the new 2016-11-13 19:59:59 +13:00
test_examples.py fix #1858 2016-12-19 01:15:10 +01:00
test_flow_export.py tests: clean up test/mitmproxy/tutils.py 2016-11-02 09:44:18 +13:00
test_flow_format_compat.py fix io compat with previous releases 2016-12-19 16:19:37 +01:00
test_flow.py remove intercept events, update view manually 2016-12-16 05:43:38 +01:00
test_flowfilter.py nuke mock dependency 2017-01-22 14:11:28 +01:00
test_fuzzing.py Roll out synchronisation for mitmproxy tests 2016-09-10 09:18:11 +12:00
test_optmanager.py options: add a merge method to assimilate options 2016-12-08 16:12:40 +13:00
test_platform_pf.py tests: clean up test/mitmproxy/tutils.py 2016-11-02 09:44:18 +13:00
test_proxy_config.py Upstream proxy auth to addon 2016-11-12 11:58:04 +13:00
test_proxy.py nuke mock dependency 2017-01-22 14:11:28 +01:00
test_server.py nuke mock dependency 2017-01-22 14:11:28 +01:00
test_stateobject.py stateobject: support lists 2016-04-29 20:59:26 -07:00
test_tools_dump.py fix #939 2017-01-23 15:14:56 +01:00
test_types_bidi.py netlib.tutils -> mitmproxy.test.tutils 2016-10-20 11:42:55 +13:00
test_types_multidict.py multidict: remove to_dict 2016-10-21 11:42:21 +13:00
test_types_serializable.py mitmproxy.types.[basethread,multidict,serializable] 2016-10-20 10:22:23 +13:00
test_web_app.py fix alpn requirement in web tests 2017-01-25 18:18:18 +01:00
test_web_master.py fix #939 2017-01-23 15:14:56 +01:00
tservers.py Fix transparent mode initialisation, refactor mitmproxy.platform (#1787) 2016-11-25 17:32:23 +01:00
tutils.py tests: clean up test/mitmproxy/tutils.py 2016-11-02 09:44:18 +13:00