# HG changeset patch # User Henry S. Thompson # Date 1689769198 -3600 # Node ID b88fdbe8bfa713caa6d0f52f52d45b0e4455df29 # Parent b14187ccfb463d9768d28b8a1429a5b888a4a1ac add a response-only test diff -r b14187ccfb46 -r b88fdbe8bfa7 bin/test_warc.py --- a/bin/test_warc.py Wed Jul 19 13:19:42 2023 +0100 +++ b/bin/test_warc.py Wed Jul 19 13:19:58 2023 +0100 @@ -29,3 +29,5 @@ warc.warc(sys.argv[1],showme,[b'warcinfo'],whole=True,debug=debug) elif tt==4: warc.warc(sys.argv[1],showme,[b'response','warcinfo','request','metadata'],whole=True,debug=debug) +elif tt==5: + warc.warc(sys.argv[1],showme,[b'response'],parts=int(sys.argv[2]),debug=debug)