# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1234534356 -3600 # Node ID 68702d0c02f135924bc681b8891e64bc7d4a5e1d # Parent 9bac1d158bdc05530622bb970c5df8bf76463dcf test fix diff -r 9bac1d158bdc -r 68702d0c02f1 common/test/unittest_entity.py --- a/common/test/unittest_entity.py Fri Feb 13 14:38:14 2009 +0100 +++ b/common/test/unittest_entity.py Fri Feb 13 15:12:36 2009 +0100 @@ -250,8 +250,7 @@ self.assertListEquals(rbc(e.relations_by_category('generic')), [('primary_email', 'subject'), ('evaluee', 'subject'), - ('for_user', 'object'), - ('bookmarked_by', 'object')]) + ('for_user', 'object')]) # owned_by is defined both as subject and object relations on EUser self.assertListEquals(rbc(e.relations_by_category('generated')), [('last_login_time', 'subject'), @@ -263,7 +262,8 @@ ('owned_by', 'subject'), ('created_by', 'object'), ('wf_info_for', 'object'), - ('owned_by', 'object')]) + ('owned_by', 'object'), + ('bookmarked_by', 'object')]) e = self.etype_instance('Personne') self.assertListEquals(rbc(e.relations_by_category('primary')), [('nom', 'subject'), ('eid', 'subject')])