--- a/web/test/unittest_views_editforms.py Wed Oct 21 13:52:16 2009 +0200
+++ b/web/test/unittest_views_editforms.py Wed Oct 21 14:31:15 2009 +0200
@@ -44,10 +44,10 @@
])
self.assertListEquals(rbc(e, 'metadata'),
[('last_login_time', 'subject'),
+ ('modification_date', 'subject'),
('created_by', 'subject'),
('creation_date', 'subject'),
('cwuri', 'subject'),
- ('modification_date', 'subject'),
('owned_by', 'subject'),
('bookmarked_by', 'object'),
])
@@ -61,10 +61,10 @@
self.assertListEquals(rbc(e, 'generated'),
[('use_email', 'subject'),
('in_state', 'subject'),
+ ('is', 'subject'),
+ ('is_instance_of', 'subject'),
('has_text', 'subject'),
('identity', 'subject'),
- ('is', 'subject'),
- ('is_instance_of', 'subject'),
('tags', 'object'),
('for_user', 'object'),
('created_by', 'object'),
@@ -98,10 +98,10 @@
('salary', 'subject')
])
self.assertListEquals(rbc(e, 'metadata'),
- [('created_by', 'subject'),
- ('creation_date', 'subject'),
+ [('creation_date', 'subject'),
('cwuri', 'subject'),
('modification_date', 'subject'),
+ ('created_by', 'subject'),
('owned_by', 'subject'),
])
self.assertListEquals(rbc(e, 'generic'),
@@ -109,9 +109,9 @@
('connait', 'object')
])
self.assertListEquals(rbc(e, 'generated'),
- [('has_text', 'subject'),
+ [('is', 'subject'),
+ ('has_text', 'subject'),
('identity', 'subject'),
- ('is', 'subject'),
('is_instance_of', 'subject'),
('identity', 'object'),
])