[test] fix unittest_schemaserial.py stable
authorDavid Douard <david.douard@logilab.fr>
Fri, 05 Jul 2013 10:40:57 +0200
branchstable
changeset 9141 492216093bc3
parent 9140 e7ffe39d4b1a
child 9142 41fb930dc751
[test] fix unittest_schemaserial.py A spurious add permission has been added in expected result by d988eec2d5d3
server/test/unittest_schemaserial.py
--- a/server/test/unittest_schemaserial.py	Fri Jul 05 10:35:14 2013 +0200
+++ b/server/test/unittest_schemaserial.py	Fri Jul 05 10:40:57 2013 +0200
@@ -265,7 +265,6 @@
         self.assertListEqual([('SET X read_permission Y WHERE Y eid %(g)s, X eid %(x)s', {'g': 0}),
                               ('SET X read_permission Y WHERE Y eid %(g)s, X eid %(x)s', {'g': 1}),
                               ('SET X read_permission Y WHERE Y eid %(g)s, X eid %(x)s', {'g': 2}),
-                              ('SET X add_permission Y WHERE Y eid %(g)s, X eid %(x)s', {'g': 0}),
                               ('SET X update_permission Y WHERE Y eid %(g)s, X eid %(x)s', {'g': 0})],
                              [(rql, kwargs)
                               for rql, kwargs in erperms2rql(schema.rschema('name').rdef('CWEType', 'String'),