From 3063126a44ec718a5ce4bd00c4cd30458fc73f5c Mon Sep 17 00:00:00 2001 From: David Butenhof Date: Tue, 10 Oct 2023 15:35:35 -0400 Subject: [PATCH] Removed unused mock variable --- lib/pbench/test/unit/server/test_cache_manager.py | 4 ---- 1 file changed, 4 deletions(-) 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