99
102
def test_small_cache(self):
100
103
self.transaction.set_cache_size(1)
101
104
# add an object, should not fall right out if there are no references
103
106
self.transaction.map.add_weave("id", DummyWeave("a weave"))
104
107
self.transaction.register_clean(self.transaction.map.find_weave("id"))
105
108
self.assertEqual(DummyWeave("a weave"),