test/unittest_schema.py
changeset 7166 dde161937d3e
parent 7152 39c1ffc7d93f
child 7426 254bc099db1a
equal deleted inserted replaced
7165:b817d44cb606 7166:dde161937d3e
   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                              'TZDatetime', 'TZTime', 'Tag', 'Time', 'Transition', 'TrInfo',
   172                              'Tag', 'TZDatetime', 'TZTime', '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',