diff --git a/mopidy_spotify/web.py b/mopidy_spotify/web.py index a937d061..b5ebea53 100644 --- a/mopidy_spotify/web.py +++ b/mopidy_spotify/web.py @@ -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." ) diff --git a/tests/test_web.py b/tests/test_web.py index 90358aa9..4b960d12 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -631,6 +631,7 @@ def test_cache_expired_with_etag( oauth_client, status, expected, + caplog, ): cache = {"tracks/abc": web_response_mock_etag} responses.add( diff --git a/tox.ini b/tox.ini index 209e6446..a5ad7c1a 100644 --- a/tox.ini +++ b/tox.ini @@ -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}