diff -r 6fa712e9dfa5 -r 0af44a38fe41 test/data/schema.py --- a/test/data/schema.py Mon Jan 24 19:09:42 2011 +0100 +++ b/test/data/schema.py Tue Feb 01 11:52:10 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,9 @@ class evaluee(RelationDefinition): subject = 'CWUser' object = 'Note' + + +class StateFull(WorkflowableEntityType): + name = String() + +