test/data/schema.py
branchstable
changeset 6908 f07dc0e8948d
parent 5424 8ecbcbff9777
child 6919 8fd6921f3e7c
--- a/test/data/schema.py	Thu Jan 27 13:43:49 2011 +0100
+++ b/test/data/schema.py	Thu Jan 27 14:10:44 2011 +0100
@@ -19,7 +19,9 @@
 
 """
 
-from yams.buildobjs import EntityType, String, SubjectRelation, RelationDefinition
+from yams.buildobjs import (EntityType, String, SubjectRelation,
+                            RelationDefinition)
+from cubicweb.schema import  WorkflowableEntityType
 
 class Personne(EntityType):
     nom = String(required=True)
@@ -48,3 +50,8 @@
 class evaluee(RelationDefinition):
     subject = 'CWUser'
     object = 'Note'
+
+class StateFull(WorkflowableEntityType):
+    name = String()
+
+