test/unittest_schema.py
changeset 7147 db63a05b260e
parent 6957 ffda12be2e9f
child 7152 39c1ffc7d93f
equal deleted inserted replaced
7146:215275be4877 7147:db63a05b260e
   167                              'CWUniqueTogetherConstraint', 'CWUser',
   167                              'CWUniqueTogetherConstraint', 'CWUser',
   168                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   168                              'ExternalUri', 'File', 'Float', 'Int', 'Interval', 'Note',
   169                              'Password', 'Personne',
   169                              'Password', 'Personne',
   170                              'RQLExpression',
   170                              'RQLExpression',
   171                              'Societe', 'State', 'StateFull', 'String', 'SubNote', 'SubWorkflowExitPoint',
   171                              'Societe', 'State', 'StateFull', 'String', 'SubNote', 'SubWorkflowExitPoint',
   172                              'Tag', 'Time', 'Transition', 'TrInfo',
   172                              'TZDatetime', 'TZTime', 'Tag', 'Time', 'Transition', 'TrInfo',
   173                              'Workflow', 'WorkflowTransition']
   173                              'Workflow', 'WorkflowTransition']
   174         self.assertListEqual(sorted(expected_entities), entities)
   174         self.assertListEqual(sorted(expected_entities), entities)
   175         relations = sorted([str(r) for r in schema.relations()])
   175         relations = sorted([str(r) for r in schema.relations()])
   176         expected_relations = ['add_permission', 'address', 'alias', 'allowed_transition',
   176         expected_relations = ['add_permission', 'address', 'alias', 'allowed_transition',
   177                               'bookmarked_by', 'by_transition',
   177                               'bookmarked_by', 'by_transition',