62 ('upassword', 'subject'), |
62 ('upassword', 'subject'), |
63 ('in_group', 'subject'), |
63 ('in_group', 'subject'), |
64 ]) |
64 ]) |
65 self.assertListEqual(rbc(e, 'main', 'metadata'), |
65 self.assertListEqual(rbc(e, 'main', 'metadata'), |
66 [('last_login_time', 'subject'), |
66 [('last_login_time', 'subject'), |
|
67 ('creation_date', 'subject'), |
|
68 ('cwuri', 'subject'), |
67 ('modification_date', 'subject'), |
69 ('modification_date', 'subject'), |
68 ('created_by', 'subject'), |
70 ('created_by', 'subject'), |
69 ('creation_date', 'subject'), |
|
70 ('cwuri', 'subject'), |
|
71 ('owned_by', 'subject'), |
71 ('owned_by', 'subject'), |
72 ('bookmarked_by', 'object'), |
72 ('bookmarked_by', 'object'), |
73 ]) |
73 ]) |
74 # XXX skip 'tags' relation here and in the hidden category because |
74 # XXX skip 'tags' relation here and in the hidden category because |
75 # of some test interdependancy when pytest is launched on whole cw |
75 # of some test interdependancy when pytest is launched on whole cw |
76 # (appears here while expected in hidden |
76 # (appears here while expected in hidden |
77 self.assertListEqual([x for x in rbc(e, 'main', 'relations') |
77 self.assertListEqual([x for x in rbc(e, 'main', 'relations') |
78 if x != ('tags', 'object')], |
78 if x != ('tags', 'object')], |
79 [('primary_email', 'subject'), |
79 [('primary_email', 'subject'), |
|
80 ('connait', 'subject'), |
80 ('custom_workflow', 'subject'), |
81 ('custom_workflow', 'subject'), |
81 ('connait', 'subject'), |
|
82 ('checked_by', 'object'), |
82 ('checked_by', 'object'), |
83 ]) |
83 ]) |
84 self.assertListEqual(rbc(e, 'main', 'inlined'), |
84 self.assertListEqual(rbc(e, 'main', 'inlined'), |
85 [('use_email', 'subject'), |
85 [('use_email', 'subject'), |
86 ]) |
86 ]) |