remove print stmnt, update ci

This commit is contained in:
Akash Mahanty 2020-12-13 16:37:35 +05:30
parent f89368f16d
commit 4943cf6873
2 changed files with 1 additions and 3 deletions

View File

@ -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 }}

View File

@ -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(