web/test/data/schema/testschema.py
changeset 2438 576f4d51f826
parent 1977 606923dff11b
--- a/web/test/data/schema/testschema.py	Thu Jul 23 13:03:50 2009 +0200
+++ b/web/test/data/schema/testschema.py	Thu Jul 23 14:09:16 2009 +0200
@@ -5,6 +5,11 @@
 :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, RelationDefinition, RelationType, String,
+                            Int, SubjectRelation)
+from yams.constraints import IntervalBoundConstraint
+
 class Salesterm(EntityType):
     described_by_test = SubjectRelation('File', cardinality='1*', composite='subject')
     amount = Int(constraints=[IntervalBoundConstraint(0, 100)])