# HG changeset patch # User Sylvain Thénault # Date 1249138443 -7200 # Node ID 273eec072cf835ec49537b17f6a3f623cd614acd # Parent bc9386c3b2c9dd3dd6f945aed258c2a335f2ec80 explicit imports diff -r bc9386c3b2c9 -r 273eec072cf8 test/data/erqlexpr_on_ertype.py --- 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',), diff -r bc9386c3b2c9 -r 273eec072cf8 test/data/rqlexpr_on_ertype_read.py --- 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',), diff -r bc9386c3b2c9 -r 273eec072cf8 test/data/rrqlexpr_on_attr.py --- 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',), diff -r bc9386c3b2c9 -r 273eec072cf8 test/data/rrqlexpr_on_eetype.py --- 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'),),