Skip to content

Commit

Permalink
Removed unused mock variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dbutenhof committed Oct 10, 2023
1 parent 82b1097 commit 3063126
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/pbench/test/unit/server/test_cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3063126

Please sign in to comment.