aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* cleanup test utilsThomas Kriechbaumer2017-02-029-92/+40
|
* add test coverage protectionThomas Kriechbaumer2017-02-021-0/+103
|
* increase test coverageThomas Kriechbaumer2017-02-026-6/+132
|
* fix console testThomas Kriechbaumer2017-02-021-1/+1
|
* tests++ (#1976)Maximilian Hils2017-02-011-1/+9
|
* Add except clause to catch script parsing errors (#1929)lymanZerga112017-02-012-4/+10
|
* Merge pull request #1948 from amm0nite/fix_dns_spoofing_exampleMaximilian Hils2017-02-011-0/+22
|\ | | | | Fix for dns_spoofing.py example
| * Better testAmmonite2017-01-311-1/+7
| |
| * Add a test for the host replacementAmmonite2017-01-301-0/+16
| |
* | Regularise setheaders optionsAldo Cortesi2017-02-012-26/+17
| | | | | | | | | | | | | | | | As per replacements: - Make the option type a string/tuple union - Localise parsing strictly within the addon - Adapt the console editor (we'll find a more elegant solution later)
* | Revamp replacement hooksAldo Cortesi2017-02-012-103/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge pull request #1965 from cortesi/optnameAldo Cortesi2017-02-011-15/+15
|\ \ | | | | | | Consolidate option names
| * | Consolidate option namesAldo Cortesi2017-01-301-15/+15
| | | | | | | | | | | | | | | | | | - Onboarding app options to onboarding* - Console-specific options to console_* - Web-specific options to web_*
* | | fully test addonmanager (#1970)Thomas Kriechbaumer2017-01-311-0/+12
|/ /
* | addons: unit tests to 100%Aldo Cortesi2017-01-295-20/+73
| | | | | | | | | | This patch pushes the coverage of ./tests/mitproxy/addons to 100% of the addons module.
* | fix newlines on windowsThomas Kriechbaumer2017-01-251-5/+5
| |
* | fix alpn requirement in web testsThomas Kriechbaumer2017-01-251-1/+1
| |
* | simplify termlog outfile handlingThomas Kriechbaumer2017-01-251-13/+22
| |
* | write errors to stderr (#1952)nish212017-01-251-7/+9
| |
* | Merge pull request #1945 from Kriechi/ca-expiredMaximilian Hils2017-01-234-3/+65
|\ \ | | | | | | fix #939
| * | fix #939Thomas Kriechbaumer2017-01-234-3/+65
| | |
* | | test disable_h2c_upgrade addonThomas Kriechbaumer2017-01-232-0/+18
| | |
* | | test websocket addonThomas Kriechbaumer2017-01-231-1/+18
|/ /
* / nuke mock dependencyThomas Kriechbaumer2017-01-2221-27/+30
|/ | | | This is already included in Python 3.3+ as unittest.mock
* provide git information with --versionThomas Kriechbaumer2017-01-192-6/+7
| | | | fixes #1848
* stronger tests, lintMaximilian Hils2017-01-072-3/+3
|
* Revert "add strutils.replace_surrogates"Maximilian Hils2017-01-071-5/+0
| | | | This reverts commit 15ae88db08dbf2725c8c9f945f2006c4b2a10d46.
* add strutils.replace_surrogatesMaximilian Hils2017-01-071-0/+5
|
* minor encoding fixesMaximilian Hils2017-01-072-5/+19
| | | | | | - native() -> always_str() The old function name does not make sense on Python 3 only. - Inline utility functions in message.py.
* Controls the length of URL displayed using the -d option (#1903)lymanZerga112017-01-051-0/+9
|
* Allow underscore in hostnamechhsiao902016-12-301-0/+2
|
* fix IO type checkingMaximilian Hils2016-12-281-0/+8
|
* fix compat with Python 3.5.0Maximilian Hils2016-12-281-0/+9
|
* fix url.parse tests for Python 3.6Maximilian Hils2016-12-271-3/+10
| | | | This is a simpler version of @Kriechi's patch.
* remove output of dumper during testsThomas Kriechbaumer2016-12-212-3/+3
|
* remove output of webmaster during testsThomas Kriechbaumer2016-12-211-0/+1
|
* Merge pull request #1880 from mhils/1877Maximilian Hils2016-12-191-0/+9
|\ | | | | Fix #1877
| * fix #1877Maximilian Hils2016-12-191-0/+9
| |
* | fix io compat with previous releasesMaximilian Hils2016-12-192-0/+93
|/
* fix #1858Maximilian Hils2016-12-192-4/+4
|
* Merge pull request #1862 from mhils/remove-intercept-eventsAldo Cortesi2016-12-172-8/+6
|\ | | | | Remove intercept events, update view manually
| * remove intercept events, update view manuallyMaximilian Hils2016-12-162-8/+6
| |
* | console: mark view indiciator, fix empty flow list behaviourAldo Cortesi2016-12-161-0/+5
|/ | | | Fixes #1782
* Merge pull request #1845 from mhils/mitmweb-improvementsAldo Cortesi2016-12-161-3/+16
|\ | | | | Mitmweb Improvements
| * [web] various fixesMaximilian Hils2016-12-121-3/+16
| |
* | Merge pull request #1852 from mhils/simplenamespaceMaximilian Hils2016-12-132-8/+1
|\ \ | | | | | | Use types.SimpleNamespace instead of custom NS class
| * | use types.SimpleNamespace instead of custom NS classMaximilian Hils2016-12-132-8/+1
| | |
* | | fix #1850Maximilian Hils2016-12-131-1/+2
|/ /
* | console: clean path prompt handlingAldo Cortesi2016-12-121-1/+1
| | | | | | | | | | | | - Don't trigger callback if no path is specified - Expand userdir centrally - Catch IO errors from callbacks and turn them into status messages
* | Extend type checker validate Sequence specsAldo Cortesi2016-12-121-1/+12
|/