explicit imports
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 01 Aug 2009 16:54:03 +0200
changeset 2634 273eec072cf8
parent 2633 bc9386c3b2c9
child 2635 c94df21f7ab2
explicit imports
test/data/erqlexpr_on_ertype.py
test/data/rqlexpr_on_ertype_read.py
test/data/rrqlexpr_on_attr.py
test/data/rrqlexpr_on_eetype.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',),
--- 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'),),