Skip to content

Commit

Permalink
Test if maxsize is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Aug 12, 2022
1 parent 6bfee73 commit 42491cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnosis/safe/tests/test_safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,3 +833,5 @@ def test_cache_size_get_contracts(self):
safe = Safe(safe_deployed.address, self.ethereum_client)
safe.get_contract()
self.assertEqual(Safe.get_contract.cache.currsize, 2)

self.assertNotEqual(Safe.get_contract.cache.maxsize, None)

0 comments on commit 42491cf

Please sign in to comment.