summaryrefslogtreecommitdiff
path: root/crocoite/test_warc.py
AgeCommit message (Collapse)AuthorFilesLines
2018-12-25warc: Add testsLars-Dominik Braun1-0/+261
Using hyothesis-based testcase generation. This is quite nice compared to manual test data generation, since it catches alot more corner cases (if done right). This commit also fixes a few issues, including: - log records will only be written if the log is nonempty - properly quote packageUrl path’s - drop old thread checking code - use placeholder url for scripts without name