Commit b61f8745 authored by Julien Muchembled's avatar Julien Muchembled

coverage: CacheItem.__repr__ (client)

parent 5de0ff3a
...@@ -307,6 +307,7 @@ def test(self): ...@@ -307,6 +307,7 @@ def test(self):
self.assertEqual([5, 10, 15, 20], [x.tid for x in cache._oid_dict[1]]) self.assertEqual([5, 10, 15, 20], [x.tid for x in cache._oid_dict[1]])
self.assertRaises(AssertionError, cache.store, 1, '20', 20, None) self.assertRaises(AssertionError, cache.store, 1, '20', 20, None)
repr(cache) repr(cache)
map(repr, cache._queue_list)
# Test late invalidations. # Test late invalidations.
cache.clear() cache.clear()
cache.store(1, '10*', 10, None) cache.store(1, '10*', 10, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment