Exemple #1
0
 def test_double_add_weave(self):
     map = identitymap.NullIdentityMap()
     weave = "foo"
     map.add_weave("id", weave)
     map.add_weave("id", weave)
     self.assertEqual(None, map.find_weave("id"))
Exemple #2
0
 def test_null_identity_map_has_no_remove(self):
     map = identitymap.NullIdentityMap()
     self.assertEqual(None, getattr(map, 'remove_object', None))
Exemple #3
0
 def test_construct(self):
     identitymap.NullIdentityMap()