aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
* | | Reimplement test retrievals on pathoc and ditch requestsAldo Cortesi2016-06-023-11/+27
| | | | | | | | | | | | | | | Requests uses urllib3, which has a connection pool that's not easy to disable (https://github.com/shazow/urllib3/issues/383).
* | | pathod.test shouldn't use the API at allAldo Cortesi2016-06-021-4/+5
| | |
* | | Since we have locks over the logs, use direct access rather than API ↵Aldo Cortesi2016-06-022-5/+4
| | | | | | | | | | | | requests to get to them
* | | Honesty in testingAldo Cortesi2016-06-021-5/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | - Don't skip tests that fail - Don't omit console from coverage I'm working on the pathod races, and can't seem to reproduce the failures locally. Also, let's not kid ourselves about the console coverage - it should be tracked. To improve it, we should measure it. Regressions in coverage of the module should be flagged by CI.
* | Shift a bunch more string-related functions to strutilsAldo Cortesi2016-06-023-23/+23
| |
* | Consolidate some functions to strutils.bytes_to_escaped_strAldo Cortesi2016-06-021-11/+0
| |
* | Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-022-37/+40
| | | | | | | | Extract a number of string and format-related functions to netlib.strutils.