server/test/data/schema.py
brancholdstable
changeset 7694 bd56a29acaa8
parent 7252 adb1673efa5f
child 7711 458cb2edf63a
--- a/server/test/data/schema.py	Tue Jul 26 16:05:36 2011 +0200
+++ b/server/test/data/schema.py	Tue Jul 26 16:33:06 2011 +0200
@@ -18,12 +18,15 @@
 
 from yams.buildobjs import (EntityType, RelationType, RelationDefinition,
                             SubjectRelation, RichString, String, Int, Float,
-                            Boolean, Datetime, TZDatetime)
+                            Boolean, Datetime, TZDatetime, Bytes)
 from yams.constraints import SizeConstraint
 from cubicweb.schema import (WorkflowableEntityType,
                              RQLConstraint, RQLUniqueConstraint,
                              ERQLExpression, RRQLExpression)
 
+class BFSSTestable(EntityType):
+    opt_attr = Bytes()
+
 class Affaire(WorkflowableEntityType):
     __permissions__ = {
         'read':   ('managers',