remove print stmnt, update ci
This commit is contained in:
parent
f89368f16d
commit
4943cf6873
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -36,8 +36,7 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
cd tests
|
||||
pytest --cov=../waybackpy .
|
||||
pytest --cov=waybackpy tests/
|
||||
- name: Upload coverage to Codecov
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
|
||||
|
@ -189,7 +189,6 @@ class Url:
|
||||
headers = {"User-Agent": "%s" % self.user_agent}
|
||||
payload = {"url": "%s" % self._clean_url(), "timestamp" : timestamp}
|
||||
response = _get_response(endpoint, params=payload, headers=headers)
|
||||
print(response.text)
|
||||
data = response.json()
|
||||
if not data["archived_snapshots"]:
|
||||
raise WaybackError(
|
||||
|
Loading…
Reference in New Issue
Block a user