--- a/test/unittest_entity.py Fri Apr 29 16:34:31 2011 +0200
+++ b/test/unittest_entity.py Mon May 02 15:06:20 2011 +0200
@@ -539,7 +539,7 @@
self.assertEqual(person.rest_path(), 'personne/doe')
# ambiguity test
person2 = req.create_entity('Personne', prenom=u'remi', nom=u'doe')
- person.clear_all_caches()
+ person.cw_clear_all_caches()
self.assertEqual(person.rest_path(), 'personne/eid/%s' % person.eid)
self.assertEqual(person2.rest_path(), 'personne/eid/%s' % person2.eid)
# unique attr with None value (wikiid in this case)