devtools/testlib.py
changeset 5557 1a534c596bff
parent 5426 0d4853a6e5ee
child 5752 b0bb553e3be4
--- a/devtools/testlib.py	Thu May 20 20:47:55 2010 +0200
+++ b/devtools/testlib.py	Thu May 20 20:50:00 2010 +0200
@@ -306,7 +306,7 @@
         req.execute('SET X in_group G WHERE X eid %%(x)s, G name IN(%s)'
                     % ','.join(repr(g) for g in groups),
                     {'x': user.eid})
-        user.clear_related_cache('in_group', 'subject')
+        user.cw_clear_relation_cache('in_group', 'subject')
         if commit:
             req.cnx.commit()
         return user