fix tests in web/test
NOTES:
1/ there are still 2 automatic tests failing (xml output doesn't
match the DTD because of <optgroup> nodes)
2/ facets test are skipped for now (API has changed)
class Salesterm(EntityType):
described_by_test = SubjectRelation('File', cardinality='1*', composite='subject')
amount = Int(constraints=[IntervalBoundConstraint(0, 100)])
class tags(RelationDefinition):
subject = 'Tag'
object = ('BlogEntry', 'EUser')
class checked_by(RelationType):
subject = 'BlogEntry'
object = 'EUser'
cardinality = '?*'
permissions = {
'add': ('managers',),
'read': ('managers', 'users'),
'delete': ('managers',),
}