45
45
map.add_weave("id", weave)
46
46
self.assertRaises(errors.BzrError, map.add_weave, "id", weave)
47
47
self.assertEqual(weave, map.find_weave("id"))
49
49
def test_remove_object(self):
50
50
map = identitymap.IdentityMap()
52
52
map.add_weave("id", weave)
54
54
map.add_weave("id", weave)
57
75
class TestNullIdentityMap(TestCase):