From b61f8745cc63f8096615f1f88255af17f6a23a44 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Thu, 24 Nov 2016 18:28:05 +0100 Subject: [PATCH] coverage: CacheItem.__repr__ (client) --- neo/client/cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neo/client/cache.py b/neo/client/cache.py index 3d025c94..d88616aa 100644 --- a/neo/client/cache.py +++ b/neo/client/cache.py @@ -307,6 +307,7 @@ def test(self): self.assertEqual([5, 10, 15, 20], [x.tid for x in cache._oid_dict[1]]) self.assertRaises(AssertionError, cache.store, 1, '20', 20, None) repr(cache) + map(repr, cache._queue_list) # Test late invalidations. cache.clear() cache.store(1, '10*', 10, None) -- 2.30.9