def test_null_cache(self):
        """Testing trivial NullCache: should trigger value generating function on each run"""
        cache = NullCache()
        self.assertEqual(42, cache.get('some_key', lambda: 42))
Testing trivial NullCache: should trigger value generating function on each run
petastorm/tests/test_cache.py