test fix
authorsylvain.thenault@logilab.fr
Fri, 13 Feb 2009 15:12:36 +0100
changeset 618 68702d0c02f1
parent 617 9bac1d158bdc
child 621 79123c597835
test fix
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')])