test/unittest_schema.py
branchstable
changeset 6306 e6557be1127e
parent 6117 f3fdfcbda54b
child 6340 470d8e828fda
equal deleted inserted replaced
6305:3a87eaf226f6 6306:e6557be1127e
   171         entities.sort()
   171         entities.sort()
   172         expected_entities = ['BaseTransition', 'Bookmark', 'Boolean', 'Bytes', 'Card',
   172         expected_entities = ['BaseTransition', 'Bookmark', 'Boolean', 'Bytes', 'Card',
   173                              'Date', 'Datetime', 'Decimal',
   173                              'Date', 'Datetime', 'Decimal',
   174                              'CWCache', 'CWConstraint', 'CWConstraintType', 'CWEType',
   174                              'CWCache', 'CWConstraint', 'CWConstraintType', 'CWEType',
   175                              'CWAttribute', 'CWGroup', 'EmailAddress', 'CWRelation',
   175                              'CWAttribute', 'CWGroup', 'EmailAddress', 'CWRelation',
   176                              'CWPermission', 'CWProperty', 'CWRType', 'CWUser',
   176                              'CWPermission', 'CWProperty', 'CWRType',
       
   177                              'CWUniqueTogetherConstraint', 'CWUser',
   177                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   178                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   178                              'Password', 'Personne',
   179                              'Password', 'Personne',
   179                              'RQLExpression',
   180                              'RQLExpression',
   180                              'Societe', 'State', 'String', 'SubNote', 'SubWorkflowExitPoint',
   181                              'Societe', 'State', 'String', 'SubNote', 'SubWorkflowExitPoint',
   181                              'Tag', 'Time', 'Transition', 'TrInfo',
   182                              'Tag', 'Time', 'Transition', 'TrInfo',
   185         relations.sort()
   186         relations.sort()
   186         expected_relations = ['add_permission', 'address', 'alias', 'allowed_transition',
   187         expected_relations = ['add_permission', 'address', 'alias', 'allowed_transition',
   187                               'bookmarked_by', 'by_transition',
   188                               'bookmarked_by', 'by_transition',
   188 
   189 
   189                               'cardinality', 'comment', 'comment_format',
   190                               'cardinality', 'comment', 'comment_format',
   190                               'composite', 'condition', 'connait', 'constrained_by', 'content',
   191                               'composite', 'condition', 'connait',
   191                               'content_format', 'created_by', 'creation_date', 'cstrtype', 'custom_workflow', 'cwuri',
   192                               'constrained_by', 'constraint_of',
       
   193                               'content', 'content_format',
       
   194                               'created_by', 'creation_date', 'cstrtype', 'custom_workflow', 'cwuri',
   192 
   195 
   193                               'data', 'data_encoding', 'data_format', 'data_name', 'default_workflow', 'defaultval', 'delete_permission',
   196                               'data', 'data_encoding', 'data_format', 'data_name', 'default_workflow', 'defaultval', 'delete_permission',
   194                               'description', 'description_format', 'destination_state',
   197                               'description', 'description_format', 'destination_state',
   195 
   198 
   196                               'ecrit_par', 'eid', 'evaluee', 'expression', 'exprtype',
   199                               'ecrit_par', 'eid', 'evaluee', 'expression', 'exprtype',
   210 
   213 
   211                               'ordernum', 'owned_by',
   214                               'ordernum', 'owned_by',
   212 
   215 
   213                               'path', 'pkey', 'prefered_form', 'prenom', 'primary_email',
   216                               'path', 'pkey', 'prefered_form', 'prenom', 'primary_email',
   214 
   217 
   215                               'read_permission', 'relation_type', 'require_group',
   218                               'read_permission', 'relation_type', 'relations', 'require_group',
   216 
   219 
   217                               'specializes', 'state_of', 'subworkflow', 'subworkflow_exit', 'subworkflow_state', 'surname', 'symmetric', 'synopsis',
   220                               'specializes', 'state_of', 'subworkflow', 'subworkflow_exit', 'subworkflow_state', 'surname', 'symmetric', 'synopsis',
   218 
   221 
   219                               'tags', 'timestamp', 'title', 'to_entity', 'to_state', 'transition_of', 'travaille', 'type',
   222                               'tags', 'timestamp', 'title', 'to_entity', 'to_state', 'transition_of', 'travaille', 'type',
   220 
   223