Skip to content

Commit

Permalink
Dang, I scratched the black paint ...
Browse files Browse the repository at this point in the history
  • Loading branch information
dbutenhof committed Oct 6, 2023
1 parent 51ba9a0 commit ba82f75
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/pbench/test/unit/server/test_datasets_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ def test_link_info(self, query_get_as, monkeypatch):

def mock_find_entry(_s, _d: str, path: Optional[Path]):
return {
"details": CacheObject(path.name, path, Path("test1"), CacheType.DIRECTORY, None, CacheType.SYMLINK)
"details": CacheObject(
path.name,
path,
Path("test1"),
CacheType.DIRECTORY,
None,
CacheType.SYMLINK,
)
}

monkeypatch.setattr(CacheManager, "find_entry", mock_find_entry)
Expand Down

0 comments on commit ba82f75

Please sign in to comment.