diff -r 9ab2b4c74baf -r 1a534c596bff devtools/testlib.py --- 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