Skip to content

Commit

Permalink
verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Nov 1, 2023
1 parent 15a13a7 commit 4f80d52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mopidy_spotify/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _request_with_retries(self, method, url, *args, **kwargs):

# Decide how long to sleep in the next iteration.
backoff_time = backoff_time or (2**i * self._backoff_factor)
logger.debug(
logger.error(
f"Retrying {prepared_request.url} in {backoff_time:.3f} "
"seconds."
)
Expand Down
1 change: 1 addition & 0 deletions tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ def test_cache_expired_with_etag(
oauth_client,
status,
expected,
caplog,
):
cache = {"tracks/abc": web_response_mock_etag}
responses.add(
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = py39, py310, py311, check-manifest, flake8
sitepackages = true
deps = .[test]
commands =
python -m pytest \
python -m pytest -vv \
--basetemp={envtmpdir} \
--cov=mopidy_spotify --cov-report=term-missing \
{posargs}
Expand Down

0 comments on commit 4f80d52

Please sign in to comment.