diff -r 449e5b46ed3d -r f07dc0e8948d test/data/schema.py --- 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() + +