diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2fc506..19ca96c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index 86089ba..c06a9a7 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -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(