summaryrefslogtreecommitdiff
path: root/crocoite/test_browser.py
AgeCommit message (Collapse)AuthorFilesLines
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