Esempio n. 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"))
Esempio n. 2
0
 def test_null_identity_map_has_no_remove(self):
     map = identitymap.NullIdentityMap()
     self.assertEqual(None, getattr(map, 'remove_object', None))
Esempio n. 3
0
 def test_construct(self):
     identitymap.NullIdentityMap()