aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* move custom HTTP/2 stack from netlib to pathodThomas Kriechbaumer2016-06-1715-76/+91
|
* pathod tests: do not string_escape specsShadab Zafar2016-06-161-1/+1
|
* Py3: Store certificate with a byte keyShadab Zafar2016-06-161-1/+1
| | | | Had to debug this for hours!
* Py3: Use BytesIO in a pathoc testShadab Zafar2016-06-161-1/+1
|
* Py3: Fix tests by using byte literalsShadab Zafar2016-06-161-7/+7
|
* Unexpected spaces around =Shadab Zafar2016-06-151-1/+1
|
* Py3: pathocShadab Zafar2016-06-152-16/+17
|
* Py3: pathodShadab Zafar2016-06-151-3/+3
|
* Make har_extractor.py output HAR 1.2 spec-compliantTai Dickerson2016-06-141-3/+4
| | | | | | | | HAR files were failing to load in harviewer (http://www.softwareishard.com/har/viewer/) due to: - ISO 8601 dates for startedDateTime missing timezone (http://www.softwareishard.com/blog/har-12-spec/#pages) -- Used UTC but could add detection of default system timezone if desired - pages object missing pageTimings (http://www.softwareishard.com/blog/har-12-spec/#pageTimings) -- Used {} because all child fields are optional
* Merge pull request #1253 from mhils/fix-debugAldo Cortesi2016-06-141-0/+4
|\ | | | | Fix Debug Mode on Windows
| * fix debug mode on WindowsMaximilian Hils2016-06-131-0/+4
| |
* | Merge branch 'master' into netlibraceAldo Cortesi2016-06-143-5/+7
|\ \
| * | update examples, tests, docsMaximilian Hils2016-06-133-5/+7
| |/
* | Fix Python3 testsAldo Cortesi2016-06-141-1/+1
| |
* | Satisfy lintAldo Cortesi2016-06-141-1/+1
| |
* | Use handlers in http2 test suiteAldo Cortesi2016-06-141-100/+100
| |
* | Start rolling out leak detection in netlibAldo Cortesi2016-06-142-211/+221
|/
* Be stricter about handling connetcts in the pathoc test suiteAldo Cortesi2016-06-121-1/+7
| | | | Attempt to clear a niggling Appveyor exception buggering up our CI.
* debug: On SIGUSR2, we dump tracebacks for all threads to screenAldo Cortesi2016-06-111-0/+6
|
* Improve debugging of thread and other leaksAldo Cortesi2016-06-111-0/+8
| | | | | | | - Add basethread.BaseThread that all threads outside of test suites should use - Add a signal handler to mitmproxy, mitmdump and mitmweb that dumps resource information to screen when SIGUSR1 is received. - Improve thread naming throughout to make thread dumps understandable
* debug.sysinfo: tests and coverageAldo Cortesi2016-06-111-0/+6
|
* Remove timestamps from pathoc outputAldo Cortesi2016-06-101-1/+1
| | | | | | Pathoc is an interactive tool, no need for a long leading timestamp. More generally, make timestamps optional in the logging mechanism so we can configure this with command-line flags or something down the track.
* Remove odictAldo Cortesi2016-06-093-150/+3
| | | | | | | | - Adds default implementations for _kconv and _reduce_values to MultiDict. Without these, operations fail in really, really non-obvious ways. - Replace the remaining few instances of ODict Fixes #1159
* Py3: Fix test_language_http2 tests by using byte literalsShadab Zafar2016-06-081-23/+23
|
* Py3: Use global next() instead of iterator methodShadab Zafar2016-06-081-2/+2
|
* Py3: Use BytesIO instead of StringIOShadab Zafar2016-06-081-8/+8
|
* If a message has been acked, all other processors are skippedAldo Cortesi2016-06-082-0/+10
| | | | | | This applies the constraint, but does to clumsily. When we've unified modules and processors it will be much nicer. We also make some exceptions for the master processors that we may want to re-evaluate down the track.
* Simplify script concurrency helpersAldo Cortesi2016-06-081-15/+11
| | | | We now have take() to prevent double-replies.
* A new interface for replyAldo Cortesi2016-06-082-7/+7
| | | | | | | | | | | Reply is now explicit - it's no longer a callable itself. Instead, we have: reply.kill() - kill the flow reply.ack() - ack, but don't send anything reply.send(message) - send a response This is part of an incremental move to detach reply from our flow objects, and unify the script and handler interfaces.
* Add reply.ack and reply.killAldo Cortesi2016-06-081-4/+3
|
* Merge branch 'master' into beautiful-jsonAldo Cortesi2016-06-082-2/+24
|\
| * tests++Maximilian Hils2016-06-071-1/+23
| |
| * Py3: Fix a test_language_writer test by using a byte literalShadab Zafar2016-06-071-1/+1
| |
* | simplify pretty_json, improve test coverageMaximilian Hils2016-06-061-4/+3
|/
* Utils cleanupsAldo Cortesi2016-06-075-20/+22
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* fix all pathod tests on Windows :tada:Maximilian Hils2016-06-061-14/+14
|
* fix NestedMessage encodingMaximilian Hils2016-06-061-1/+1
|
* fix .freeze(), improve testsMaximilian Hils2016-06-062-5/+10
|
* Py3: Fix status_code and other tests by using byte literalsShadab Zafar2016-06-061-7/+7
|
* Py3: Fix corresponding base.Integer test in test_language_baseShadab Zafar2016-06-061-1/+1
|
* Py3: Fix useragent testsShadab Zafar2016-06-061-4/+4
|
* Py3: Fix websocket testsShadab Zafar2016-06-061-10/+10
|
* Py3: Use BytesIO in tutils.renderShadab Zafar2016-06-061-1/+2
|
* Py3: Use byte string literalsShadab Zafar2016-06-061-20/+20
|
* Py3: Use BytesIO instead of StringIO for testsShadab Zafar2016-06-061-8/+8
|
* Py3: Use global next() instead of iterator methodShadab Zafar2016-06-061-23/+23
|
* Py3: Fix tests by using byte literalsShadab Zafar2016-06-061-6/+6
|
* Py3: Use global next() instead of iterator methodShadab Zafar2016-06-061-1/+1
|
* Fix sequencing in Pathoc websocket termination testAldo Cortesi2016-06-061-3/+4
|
* Make more of the pathod test suite use synchronisationAldo Cortesi2016-06-061-39/+11
|