diff --git a/lib/pbench/test/unit/server/test_cache_manager.py b/lib/pbench/test/unit/server/test_cache_manager.py index 1e3bb0f639..df3e31a45a 100644 --- a/lib/pbench/test/unit/server/test_cache_manager.py +++ b/lib/pbench/test/unit/server/test_cache_manager.py @@ -1033,11 +1033,7 @@ def test_get_inventory( cache = tmp_path / "mock" / ".cache" unpacked = cache / "ABC" / "dir_name" - get_results_called = False - def fake_results(self, lock: LockRef) -> Path: - nonlocal get_results_called - get_results_called = True self.unpacked = unpacked return self.unpacked