--- a/test/data/erqlexpr_on_ertype.py Sat Aug 01 16:21:52 2009 +0200
+++ b/test/data/erqlexpr_on_ertype.py Sat Aug 01 16:54:03 2009 +0200
@@ -5,6 +5,9 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
+from yams.buildobjs import EntityType, RelationType, SubjectRelation
+from cubicweb.schema import ERQLExpression
+
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rqlexpr_on_ertype_read.py Sat Aug 01 16:21:52 2009 +0200
+++ b/test/data/rqlexpr_on_ertype_read.py Sat Aug 01 16:54:03 2009 +0200
@@ -5,6 +5,9 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
+from yams.buildobjs import EntityType, RelationType, SubjectRelation
+from cubicweb.schema import RRQLExpression
+
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rrqlexpr_on_attr.py Sat Aug 01 16:21:52 2009 +0200
+++ b/test/data/rrqlexpr_on_attr.py Sat Aug 01 16:54:03 2009 +0200
@@ -5,6 +5,9 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
+from yams.buildobjs import EntityType, RelationType, String
+from cubicweb.schema import RRQLExpression
+
class ToTo(EntityType):
permissions = {
'read': ('managers',),
--- a/test/data/rrqlexpr_on_eetype.py Sat Aug 01 16:21:52 2009 +0200
+++ b/test/data/rrqlexpr_on_eetype.py Sat Aug 01 16:54:03 2009 +0200
@@ -5,6 +5,9 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
+from yams.buildobjs import EntityType, String
+from cubicweb.schema import RRQLExpression
+
class ToTo(EntityType):
permissions = {
'read': ('managers', RRQLExpression('S bla Y'),),