fix test broken by meta relation permissions tweaks stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 04 Mar 2010 10:56:46 +0100
branchstable
changeset 4792 e46c6e01117b
parent 4791 b9a1b16a8d26
child 4793 fdb5476dee9a
child 4794 81075b09ebf1
fix test broken by meta relation permissions tweaks
server/test/unittest_schemaserial.py
--- a/server/test/unittest_schemaserial.py	Thu Mar 04 10:56:27 2010 +0100
+++ b/server/test/unittest_schemaserial.py	Thu Mar 04 10:56:46 2010 +0100
@@ -149,7 +149,6 @@
                                ('SET X read_permission Y WHERE Y eid %(g)s, ', {'g': 2}),
                                ('SET X add_permission Y WHERE Y eid %(g)s, ', {'g': 0}),
                                ('SET X update_permission Y WHERE Y eid %(g)s, ', {'g': 0}),
-                               ('SET X update_permission Y WHERE Y eid %(g)s, ', {'g': 3}),
                                ('SET X delete_permission Y WHERE Y eid %(g)s, ', {'g': 0}),
                                ])
 
@@ -168,11 +167,6 @@
                                ('SET X read_permission Y WHERE Y eid %(g)s, ', {'g': 1}),
                                ('SET X read_permission Y WHERE Y eid %(g)s, ', {'g': 2}),
                                ('SET X update_permission Y WHERE Y eid %(g)s, ', {'g': 0}),
-                               ('INSERT RQLExpression E: '
-                                'E expression %(e)s, E exprtype %(t)s, E mainvars %(v)s, '
-                                'X update_permission E '
-                                'WHERE ', # completed by the outer function
-                                {'e': u'U has_update_permission X', 't': u'ERQLExpression', 'v': u'X'}),
                                ])
 
     #def test_perms2rql(self):