Skip to content

Commit

Permalink
Patch get_objects_to_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jan 7, 2025
1 parent 0e592dd commit f050be4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aiida_test_cache/archive_cache/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class MockNodeCaching(node_caching_class): #type: ignore
"""

def _get_objects_to_hash(self):
return self.get_objects_to_hash()

def get_objects_to_hash(self):
return hash_objects_func(self)

monkeypatch.setattr(node_class, "_CLS_NODE_CACHING", MockNodeCaching)
Expand Down

0 comments on commit f050be4

Please sign in to comment.