aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #1215 from redfast00/masterAldo Cortesi2016-06-061-2/+2
|\ | | | | Now keeps header capitalization
| * fix multidict unittestsredfast002016-06-051-2/+2
| |
* | Merge pull request #1211 from cortesi/pathodAldo Cortesi2016-06-064-192/+48
|\ \ | | | | | | WIP: Radical webectomy of pathod
| * | Remove last vestiges of noapi and noweb from pathodAldo Cortesi2016-06-053-18/+5
| | | | | | | | | | | | Also hide HTTP2 freeze bug by making explain configurable in the tests
| * | First-order removal of pathod API and appAldo Cortesi2016-06-053-174/+43
| |/
* | Use BytesIO instead of StringIOShadab Zafar2016-06-061-2/+2
| |
* | Py3: Use byte literals for comparisonShadab Zafar2016-06-061-1/+1
| |
* | Py3: Use global next() function instead of iterator methodShadab Zafar2016-06-061-7/+7
|/
* Fix test that may fail due to binary header dataAldo Cortesi2016-06-053-5/+4
| | | | | | | | This is just inherently not a determinisitc test. We don't use the log HTTP interface any more, so it can just go. A more radical "solution" is inbound shortly. Fixes #1207
* Py3: Write bytes to fileShadab Zafar2016-06-041-3/+3
|
* Fix function name typoShadab Zafar2016-06-041-1/+1
|
* Py3: Convert all data to bytes in pathod.language.writer testShadab Zafar2016-06-041-28/+28
|
* Py3: Use global next() instead of iterator methodShadab Zafar2016-06-041-3/+3
|
* Basic ConsoleMaster tests, based on mastertesterAldo Cortesi2016-06-041-1/+13
|
* console/__init__.py -> console/master.pyAldo Cortesi2016-06-041-6/+6
|
* Very basic test truss for web.appAldo Cortesi2016-06-041-0/+22
|
* Rebase on masterAldo Cortesi2016-06-044-76/+119
|
* Make tcp.Client.connect return a context manager that closes the connectionAldo Cortesi2016-06-031-18/+18
|
* Implement a service connection handler counter, use it in Pathod test suiteAldo Cortesi2016-06-031-0/+1
| | | | Lots of failures, but that's a good thing.
* Merge remote-tracking branch 'upstream/master' into testsuiteAldo Cortesi2016-06-031-5/+8
|\
| * Merge remote-tracking branch 'duffer/pathod-lang-generators'Maximilian Hils2016-06-021-5/+8
| |\
| | * Py3: Return bytes from FileGeneratorShadab Zafar2016-06-021-4/+6
| | | | | | | | | | | | and use __getitem__ instead of __getslice__
| | * Py3: Return bytes from RandomGeneratorShadab Zafar2016-06-021-1/+2
| | | | | | | | | | | | and use __getitem__ rather than __getslice__
* | | Satisfy linting godsAldo Cortesi2016-06-021-1/+2
| | |
* | | Silence requests warningsAldo Cortesi2016-06-021-0/+3
| | | | | | | | | | | | Once we convert the rest of the suite to pathoc, this can go.