summaryrefslogtreecommitdiff
path: root/crocoite/test_browser.py
AgeCommit message (Collapse)AuthorFilesLines
2018-12-24Drop deprecated debug parameterLars-Dominik Braun1-1/+1
2018-12-24Use f-strings where possibleLars-Dominik Braun1-1/+1
Replaces str.format, which is less readable due to its separation of format and arguments.
2018-12-23Skip test if invalid domain existsLars-Dominik Braun1-7/+17
Must not exist for this test.
2018-12-21Parse URLs by defaultLars-Dominik Braun1-7/+7
Use library yarl (already pulled in by aiohttp). No URL processed should be a string.
2018-11-22controller: Improve idle waitingLars-Dominik Braun1-1/+24
2018-11-19Coding styleLars-Dominik Braun1-3/+2
Fix a few random issues pointed out by pylint, mainly unused imports.
2018-11-17browser: Add tests for header deserializationLars-Dominik Braun1-0/+39
2018-11-14Async chrome process startupLars-Dominik Braun1-11/+4
Move it to .devtools. Seems more fitting.
2018-11-06Switch site loader to async DevTools communicationLars-Dominik Braun1-122/+110
2018-08-05test_browser: Properly handle failed requestsLars-Dominik Braun1-10/+10
Fixes test failures. Very fragile code unfortunately.
2018-08-04Properly handle failure to retrieve request bodyLars-Dominik Braun1-3/+32
Just truncate the WARC record like we do with responses. Also add a few tests, but they’re not covering the call to getRequestPostData. Not sure what we have to do here.
2018-08-04Reintroduce WARC loggingLars-Dominik Braun1-2/+13
Commit 7730e0d64ec895091a0dd7eb0e3c6ce2ed02d981 removed logging to WARC files. Add it again, but with a different implementation.. Credits to structlog for inspiration.
2018-06-25browser: Fix testcase race conditionLars-Dominik Braun1-0/+4
2018-06-21browser: Add a few more testsLars-Dominik Braun1-3/+31
Increase coverage.
2018-06-20Move tests to pytestLars-Dominik Braun1-0/+177
It just seems a little nicer than plain old unittest