Add tests (#149)

* enable codecov

* fix save_urls_on_file

* increase the limit of CDX to 25000 from 5000. 5X increase.

* added test for the CLI module

* make flake 8 happy

* make mypy happy
This commit is contained in:
Akash Mahanty
2022-02-08 17:46:59 +05:30
committed by GitHub
parent 2bbfee7b2f
commit f8bf9c16f9
4 changed files with 195 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ class WaybackMachineCDXServerAPI:
self.gzip = gzip
self.collapses = [] if collapses is None else collapses
check_collapses(self.collapses)
self.limit = 5000 if limit is None else limit
self.limit = 25000 if limit is None else limit
self.max_tries = max_tries
self.last_api_request_url: Optional[str] = None
self.use_page = False