diff --git a/conftest.py b/conftest.py
index 1dc2e70727909390db3effe9c8ef76e9ea402f6f..ea09c62e54c521e4362a6048f462e75b3df25a72 100644
--- a/conftest.py
+++ b/conftest.py
@@ -15,4 +15,6 @@ os.environ["LC_ALL"] = "C.UTF-8"
 @pytest.fixture(autouse=True)
 def tenacity_wait(mocker):
     # Stops tenacity from blocking lister tests for 50x errors
-    mocker.patch("tenacity.nap.time")
+    from swh.lister.pattern import Lister
+
+    mocker.patch.object(Lister.http_request.retry, "sleep")