--- a/test/data/rrqlexpr_on_attr.py Wed Feb 17 13:12:35 2010 +0100
+++ b/test/data/rrqlexpr_on_attr.py Wed Feb 17 13:16:50 2010 +0100
@@ -20,6 +20,5 @@
class attr(RelationType):
__permissions__ = {
'read': ('managers', ),
- 'add': ('managers', RRQLExpression('S bla Y'),),
- 'delete': ('managers',),
+ 'update': ('managers', RRQLExpression('S bla Y'),),
}
--- a/test/unittest_schema.py Wed Feb 17 13:12:35 2010 +0100
+++ b/test/unittest_schema.py Wed Feb 17 13:16:50 2010 +0100
@@ -257,7 +257,7 @@
self.assertEquals(str(ex), msg)
def test_rrqlexpr_on_etype(self):
- self._test('rrqlexpr_on_eetype.py', "can't use RRQLExpression on an entity type, use an ERQLExpression (ToTo)")
+ self._test('rrqlexpr_on_eetype.py', "can't use RRQLExpression on ToTo, use an ERQLExpression")
def test_erqlexpr_on_rtype(self):
self._test('erqlexpr_on_ertype.py', "can't use ERQLExpression on relation ToTo toto TuTu, use a RRQLExpression")