'Adding extra entries will pop out old ones.'

def test_overflow(self):

    cache = lru_cache.LRUCache(max_cache=1, after_cleanup_count=1)
    cache['foo'] = 'bar'
    cache['baz'] = 'biz'
    self.assertFalse(('foo' in cache))
    self.assertTrue(('baz' in cache))
    self.assertEqual('biz', cache['baz'])
