Age | Commit message (Collapse) | Author | Files | Lines |
|
Previously Item was just a simple wrapper around Chrome’s Network.*
events. This turned out to be quite nasty when testing, so its
replacement, RequestResponsePair, does some level of abstraction. This
makes testing alot easier, since we now can simply instantiate it
without building a proper DevTools event.
Should come without any functional changes.
|
|
|
|
Replaces str.format, which is less readable due to its separation of
format and arguments.
|
|
Must not exist for this test.
|
|
Use library yarl (already pulled in by aiohttp). No URL processed should
be a string.
|
|
|
|
Fix a few random issues pointed out by pylint, mainly unused imports.
|
|
|
|
Move it to .devtools. Seems more fitting.
|
|
|
|
Fixes test failures. Very fragile code unfortunately.
|
|
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.
|
|
Commit 7730e0d64ec895091a0dd7eb0e3c6ce2ed02d981 removed logging to WARC
files. Add it again, but with a different implementation.. Credits to
structlog for inspiration.
|
|
|
|
Increase coverage.
|
|
It just seems a little nicer than plain old unittest
|